Skip to content

Commit 725552d

Browse files
authored
Update server.clj
Remove unnecessary ^String
1 parent 3ee3c24 commit 725552d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aleph/http/server.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[clojure.tools.logging :as log]
88
[clojure.string :as str]
99
[manifold.deferred :as d]
10-
[manifold.stream :as s])
10+
[manifold.stream :as s])
1111
(:import
1212
[java.util
1313
EnumSet
@@ -217,7 +217,7 @@
217217

218218
(defn- ^HttpResponseStatus cause->status [^Throwable cause]
219219
(if (instance? TooLongFrameException cause)
220-
(let [message ^String (.getMessage cause)]
220+
(let [message (.getMessage cause)]
221221
(cond
222222
(.startsWith message "An HTTP line is larger than")
223223
HttpResponseStatus/REQUEST_URI_TOO_LONG

0 commit comments

Comments
 (0)