Browse Source

feat: Get rid of unnecessary conditional

Miguel Ángel Moreno 2 years ago
parent
commit
8a7c93ef7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/backend/tau/downloader_impl.clj

+ 1 - 1
src/backend/tau/downloader_impl.clj

@@ -29,7 +29,7 @@
    (reset! instance (tau.DownloaderImpl. builder))))
 
 (defn -getInstance []
-  (if @instance @instance (-init)))
+  (or @instance (-init)))
 
 (defn -execute [this request]
   (let [http-method (.httpMethod request)