From 9c1ce2fa111f13fb26b8827521cd8a1bdd2cc793 Mon Sep 17 00:00:00 2001 From: Dimitrios Piliouras Date: Sun, 6 Aug 2023 13:39:27 +0100 Subject: [PATCH] remove redundant `do` inside `when` --- src/clojure/langohr/core.clj | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/clojure/langohr/core.clj b/src/clojure/langohr/core.clj index 32663e6..98659a7 100644 --- a/src/clojure/langohr/core.clj +++ b/src/clojure/langohr/core.clj @@ -353,9 +353,8 @@ (when sasl-config (.setSaslConfig cf sasl-config)) (when ssl-context - (do - (.useSslProtocol cf ^javax.net.ssl.SSLContext ssl-context) - (.setPort cf final-port))) + (.useSslProtocol cf ^javax.net.ssl.SSLContext ssl-context) + (.setPort cf final-port)) (when verify-hostname (.enableHostnameVerification cf)) (when thread-factory