You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2016/05/09 23:01:12 UTC
[jira] [Reopened] (ACCUMULO-4304) Use JDK8 modernizer suggestions
[ https://issues.apache.org/jira/browse/ACCUMULO-4304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher Tubbs reopened ACCUMULO-4304:
-----------------------------------------
Re-opening to fix some base64 stuff.
I initially did the String conversion using UTF-8 for the base64 encoded bytes because I preferred UTF-8 over the ISO-8859-1, which the built-in Base64 class uses.
However, as it turns out (I checked) the byte encoding for the entire base64 alphabet (URL-safe and MIME newline chars also) is the same for UTF-8, US-ASCII, and ISO-8859-1, so it makes more sense to just use the built-in methods provided by the built-in Base64 class to do the String conversion rather than do it outside the Base64 class myself.
> Use JDK8 modernizer suggestions
> -------------------------------
>
> Key: ACCUMULO-4304
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4304
> Project: Accumulo
> Issue Type: Sub-task
> Components: build
> Reporter: Christopher Tubbs
> Assignee: Christopher Tubbs
> Fix For: 2.0.0
>
>
> Favor built-ins, as suggested by modernizer-maven-plugin, instead of those provided by guava or other external libraries.
> Use recommended Java 8 methods.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)