Skip to content

Commit 1aa859f

Browse files
authored
Merge pull request #29 from harold/reflection-warnings-2021-03-16
Add type hint to silence reflection warnings
2 parents 72a4345 + e907ee8 commit 1aa859f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ring/util/codec.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777

7878
(defn base64-encode
7979
"Encode an array of bytes into a base64 encoded string."
80-
[unencoded]
80+
[^bytes unencoded]
8181
(String. (.encode (Base64/getEncoder) unencoded)))
8282

8383
(defn base64-decode

0 commit comments

Comments
 (0)