Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-6290

Switch to JDK7's StandardCharsets

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.3
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            blair Blair Zajac
            blair Blair Zajac
            Blair Zajac
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: