accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Reopened] (ACCUMULO-4304) Use JDK8 modernizer suggestions
Date Mon, 09 May 2016 23:01:12 GMT


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:
>             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

View raw message