accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACCUMULO-4131) Use static imports for UTF_8 when possible
Date Wed, 03 Feb 2016 03:10:40 GMT

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

Christopher Tubbs resolved ACCUMULO-4131.
-----------------------------------------
    Resolution: Fixed

> 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
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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)

Mime
View raw message