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/02/03 02:46:39 UTC

[jira] [Updated] (ACCUMULO-4131) Use static imports for UTF_8 when possible

     [ https://issues.apache.org/jira/browse/ACCUMULO-4131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Tubbs updated ACCUMULO-4131:
----------------------------------------
    Priority: Trivial  (was: Major)

> Use static imports for UTF_8 when possible
> ------------------------------------------
>
>                 Key: ACCUMULO-4131
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4131
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: build
>            Reporter: Christopher Tubbs
>            Assignee: Christopher Tubbs
>            Priority: Trivial
>             Fix For: 1.6.5, 1.7.1, 1.8.0
>
>
> To limit the impact of changing Java versions, and modernizing code, we should use static imports for UTF_8 Charset. In 1.6 branch, if guava is not a dependency, a private static final constant could be used with Charset.forName("UTF-8").
> This will ensure usages of UTF_8 will merge more easily between branches and replacing outdated means of referencing UTF_8 charset.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)