From 8a7c93ef7ee6b99682d2d94a6876e25cf06ec083 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Tue, 20 Dec 2022 00:43:29 +0100 Subject: feat: Get rid of unnecessary conditional --- src/backend/tau/downloader_impl.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3