Skip to content
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

Java base64 #35

Merged
merged 2 commits into from
Jun 13, 2018
Merged

Java base64 #35

merged 2 commits into from
Jun 13, 2018

Conversation

kenmccracken
Copy link
Contributor

Base64: switch from commons-codec Base64 implementation, to java.util.Base64.

Remove dependency on commons-codec Base64.

Lucas Torri added 2 commits June 3, 2018 00:08
This removes the dependency to commons-codec and any references on the code to
org.apache.commons.codec.binary.Base64. This is done in favor of Java's
java.util.Base64 class.:
@kenmccracken
Copy link
Contributor Author

Checkout https://github.com/heremaps/here-aaa-java-sdk/tree/ken-java-base64 if you want to see a test proving the old implementation and new implementation return the same data. I'm intentionally keeping that branch separate from the pull request branch, so we can completely remove commons-codec dependency. But the proof we can use the alternate implementation, and that in doing so it improves performance, is in ken-java-base64 branch.

@lucastorri
Copy link
Contributor

Hi @srrajago, let me know if I can be of any help.

Copy link
Contributor

@srrajago srrajago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Verified the test from the branch as well.

@kenmccracken kenmccracken merged commit 056a014 into master Jun 13, 2018
@kenmccracken kenmccracken deleted the java-base64 branch June 13, 2018 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants