remove need for reflection
This commit is contained in:
parent
a81d5b1efc
commit
b706139d4f
2 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@
|
|||
:dependencies [[org.clojure/tools.cli "1.0.219"]
|
||||
[ch.qos.logback/logback-classic "1.4.14"
|
||||
:exclusions [com.sun.mail/javax.mail]]
|
||||
[org.slf4j/jcl-over-slf4j "2.0.11"]]}}
|
||||
[org.slf4j/jcl-over-slf4j "2.0.12"]]}}
|
||||
:release-tasks [["test"]
|
||||
["vcs" "assert-committed"]
|
||||
["change" "version" "leiningen.release/bump-version" "release"]
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
[input string?]
|
||||
(.encodeToString
|
||||
(Base64/getEncoder)
|
||||
(.getBytes input "UTF-8")))
|
||||
(.getBytes ^String input "UTF-8")))
|
||||
|
||||
(defn-spec decode string?
|
||||
[input string?]
|
||||
(String.
|
||||
(.decode (Base64/getDecoder) input)
|
||||
(.decode (Base64/getDecoder) ^String input)
|
||||
"UTF-8"))
|
||||
|
|
Loading…
Reference in a new issue