commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1744164 - /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java
Date Mon, 16 May 2016 22:55:05 GMT
Author: sebb
Date: Mon May 16 22:55:05 2016
New Revision: 1744164

URL: http://svn.apache.org/viewvc?rev=1744164&view=rev
Log:
Only Java 7+ has StandardCharsets

Modified:
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java?rev=1744164&r1=1744163&r2=1744164&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java (original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java Mon May
16 22:55:05 2016
@@ -93,7 +93,7 @@ public class Charsets {
      * Every implementation of the Java platform is required to support this character encoding.
      * </p>
      * <p>
-     * On Java, use {@link java.nio.charset.StandardCharsets#ISO_8859_1} instead.
+     * On Java 7 or later, use {@link java.nio.charset.StandardCharsets#ISO_8859_1} instead.
      * </p>
      *
      * @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
@@ -106,7 +106,7 @@ public class Charsets {
      * Every implementation of the Java platform is required to support this character encoding.
      * </p>
      * <p>
-     * On Java, use {@link java.nio.charset.StandardCharsets#ISO_8859_1} instead.
+     * On Java 7 or later, use {@link java.nio.charset.StandardCharsets#ISO_8859_1} instead.
      * </p>
      *
      * @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
@@ -120,7 +120,7 @@ public class Charsets {
      * Every implementation of the Java platform is required to support this character encoding.
      * </p>
      * <p>
-     * On Java, use {@link java.nio.charset.StandardCharsets#ISO_8859_1} instead.
+     * On Java 7 or later, use {@link java.nio.charset.StandardCharsets#ISO_8859_1} instead.
      * </p>
      *
      * @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
@@ -133,7 +133,7 @@ public class Charsets {
      * Every implementation of the Java platform is required to support this character encoding.
      * </p>
      * <p>
-     * On Java, use {@link java.nio.charset.StandardCharsets#ISO_8859_1} instead.
+     * On Java 7 or later, use {@link java.nio.charset.StandardCharsets#ISO_8859_1} instead.
      * </p>
      *
      * @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
@@ -146,7 +146,7 @@ public class Charsets {
      * Every implementation of the Java platform is required to support this character encoding.
      * </p>
      * <p>
-     * On Java, use {@link java.nio.charset.StandardCharsets#ISO_8859_1} instead.
+     * On Java 7 or later, use {@link java.nio.charset.StandardCharsets#ISO_8859_1} instead.
      * </p>
      *
      * @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
@@ -159,7 +159,7 @@ public class Charsets {
      * Every implementation of the Java platform is required to support this character encoding.
      * </p>
      * <p>
-     * On Java, use {@link java.nio.charset.StandardCharsets#ISO_8859_1} instead.
+     * On Java 7 or later, use {@link java.nio.charset.StandardCharsets#ISO_8859_1} instead.
      * </p>
      *
      * @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>



Mime
View raw message