You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/07/24 00:34:48 UTC

[jira] [Commented] (ACCUMULO-1545) Use UTF-8 constant instead of String

    [ https://issues.apache.org/jira/browse/ACCUMULO-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13717722#comment-13717722 ] 

ASF subversion and git services commented on ACCUMULO-1545:
-----------------------------------------------------------

Commit 07d1b6ea9148e49cf7911dcd5b56da33fc24d299 in branch refs/heads/master from [~ctubbsii]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=07d1b6e ]

ACCUMULO-1545 Switch to UTF-8 Charset constant instead of string literals

                
> 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
>            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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira