-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Base64 to modern Java #43
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! Some suggestions, but I'm on board with the change in general.
|
||
(defn unsmash [^String str] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the type hint back in? There will be reflection without it.
@@ -1,20 +1,22 @@ | |||
(defproject org.flatland/useful "0.11.7-SNAPSHOT" | |||
:description "A collection of generally-useful Clojure utility functions" | |||
:license {:name "Eclipse Public License - v 1.0" | |||
:url "http://www.eclipse.org/legal/epl-v10.html" | |||
:license {:name "Eclipse Public License - v 1.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to only make the changes to the dependencies here without the reformatting?
:plugins [[codox "0.8.0"]] | ||
:codox {:src-dir-uri "http://github.com/flatland/useful/blob/develop/" | ||
:plugins [[codox "0.8.0"] | ||
[lein-ancient "0.6.15"]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if we need this in the plugins here?
:dependencies [[org.clojure/clojure "1.8.0" :scope "provided"] | ||
[org.clojure/tools.macro "0.1.5"] | ||
[org.clojure/tools.reader "1.3.2"]] | ||
:aliases {"testall" ["with-profile" ":1.8:1.9:1.10" "test"]} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:aliases {"testall" ["with-profile" ":1.8:1.9:1.10" "test"]} | |
:aliases {"testall" ["with-profile" "1.8:1.9:1.10" "test"]} |
The :
here is a delimiter, not part of the profile name itself so we don't need a leading one.
Works with Clojure 1.8/1.10.1 and Java 8/12