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-1545) Use UTF-8 constant instead of String
Date Wed, 02 Apr 2014 22:55:20 GMT

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

Christopher Tubbs resolved ACCUMULO-1545.
-----------------------------------------

    Resolution: Fixed
      Assignee: Christopher Tubbs

> Use UTF-8 constant instead of String
> ------------------------------------
>
>                 Key: ACCUMULO-1545
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1545
>             Project: Accumulo
>          Issue Type: Sub-task
>            Reporter: Mike Drob
>            Assignee: Christopher Tubbs
>            Priority: Trivial
>              Labels: jdk1.7
>             Fix For: 1.7.0
>
>
> API calls that specify UTF-8 using the string form of the argument should instead use
[Charset.forName()|http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html#forName%28java.lang.String%29].
This constant can then be further replaced with [StandardCharsets.UTF_8|http://docs.oracle.com/javase/7/docs/api/java/nio/charset/StandardCharsets.html#UTF_8].



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message