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"]
|
:dependencies [[org.clojure/tools.cli "1.0.219"]
|
||||||
[ch.qos.logback/logback-classic "1.4.14"
|
[ch.qos.logback/logback-classic "1.4.14"
|
||||||
:exclusions [com.sun.mail/javax.mail]]
|
: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"]
|
:release-tasks [["test"]
|
||||||
["vcs" "assert-committed"]
|
["vcs" "assert-committed"]
|
||||||
["change" "version" "leiningen.release/bump-version" "release"]
|
["change" "version" "leiningen.release/bump-version" "release"]
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
[input string?]
|
[input string?]
|
||||||
(.encodeToString
|
(.encodeToString
|
||||||
(Base64/getEncoder)
|
(Base64/getEncoder)
|
||||||
(.getBytes input "UTF-8")))
|
(.getBytes ^String input "UTF-8")))
|
||||||
|
|
||||||
(defn-spec decode string?
|
(defn-spec decode string?
|
||||||
[input string?]
|
[input string?]
|
||||||
(String.
|
(String.
|
||||||
(.decode (Base64/getDecoder) input)
|
(.decode (Base64/getDecoder) ^String input)
|
||||||
"UTF-8"))
|
"UTF-8"))
|
||||||
|
|
Loading…
Reference in a new issue