Christopher Tubbs created ACCUMULO-4131:
-------------------------------------------
Summary: 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
Reporter: Christopher Tubbs
Assignee: Christopher Tubbs
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)