cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6290) Switch to JDK7's StandardCharsets
Date Sat, 02 Nov 2013 13:33:18 GMT

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

Jonathan Ellis commented on CASSANDRA-6290:
-------------------------------------------

Should also replace uses of Guava's Charsets

> Switch to JDK7's StandardCharsets
> ---------------------------------
>
>                 Key: CASSANDRA-6290
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6290
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Blair Zajac
>            Priority: Minor
>         Attachments: standard-charsets.patch.txt
>
>
> Instead of using Charset.forName() take advantage of JDK7's StandardCharsets that provides
UTF-8 and US-ASCII character sets as static fields.
> http://docs.oracle.com/javase/7/docs/api/java/nio/charset/StandardCharsets.html



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message