accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1545) Use UTF-8 constant instead of String
Date Wed, 02 Apr 2014 22:55:19 GMT

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

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

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

ACCUMULO-1545 Replace UTF8 constant with built-in one


> 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 was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message