aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tau/downloader_impl.clj
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2022-12-20 00:43:29 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2022-12-20 00:55:04 +0100
commit8a7c93ef7ee6b99682d2d94a6876e25cf06ec083 (patch)
treea00b0aa8e504d49b9753870b646b940fee414fd1 /src/backend/tau/downloader_impl.clj
parent4053594451f6986e0dd0a20e1dcfed0a2c344666 (diff)
feat: Get rid of unnecessary conditional
Diffstat (limited to 'src/backend/tau/downloader_impl.clj')
-rw-r--r--src/backend/tau/downloader_impl.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/tau/downloader_impl.clj b/src/backend/tau/downloader_impl.clj
index 8a62821..7083973 100644
--- a/src/backend/tau/downloader_impl.clj
+++ b/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)