Skip to content

Commit e907ee8

Browse files
committed
Add type hint to silence reflection warnings
1 parent 72a4345 commit e907ee8

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)