Skip to content

Commit 2b94433

Browse files
committed
Reimplement à la Java 7 with StandardCharsets (fixes compiler warnings.)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1750727 13f79535-47bb-0310-9956-ffa450edef68
1 parent ab2aa8d commit 2b94433

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/main/java/org/apache/commons/io/Charsets.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
/**
2626
* Charsets required of every implementation of the Java platform.
2727
*
28-
* From the Java documentation <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">
28+
* From the Java documentation <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">
2929
* Standard charsets</a>:
3030
* <p>
3131
* <cite>Every implementation of the Java platform is required to support the following character encodings. Consult
@@ -49,7 +49,7 @@
4949
* accepted on input, big-endian used on output.)</li>
5050
* </ul>
5151
*
52-
* @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
52+
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
5353
* @since 2.3
5454
* @version $Id$
5555
*/
@@ -63,7 +63,7 @@ public class Charsets {
6363
* Constructs a sorted map from canonical charset names to charset objects required of every implementation of the
6464
* Java platform.
6565
* <p>
66-
* From the Java documentation <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">
66+
* From the Java documentation <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">
6767
* Standard charsets</a>:
6868
* </p>
6969
*
@@ -113,7 +113,7 @@ public static Charset toCharset(final String charset) {
113113
* Every implementation of the Java platform is required to support this character encoding.
114114
* </p>
115115
*
116-
* @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
116+
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
117117
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
118118
*/
119119
@Deprecated
@@ -127,7 +127,7 @@ public static Charset toCharset(final String charset) {
127127
* Every implementation of the Java platform is required to support this character encoding.
128128
* </p>
129129
*
130-
* @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
130+
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
131131
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
132132
*/
133133
@Deprecated
@@ -142,7 +142,7 @@ public static Charset toCharset(final String charset) {
142142
* Every implementation of the Java platform is required to support this character encoding.
143143
* </p>
144144
*
145-
* @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
145+
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
146146
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
147147
*/
148148
@Deprecated
@@ -156,7 +156,7 @@ public static Charset toCharset(final String charset) {
156156
* Every implementation of the Java platform is required to support this character encoding.
157157
* </p>
158158
*
159-
* @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
159+
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
160160
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
161161
*/
162162
@Deprecated
@@ -170,7 +170,7 @@ public static Charset toCharset(final String charset) {
170170
* Every implementation of the Java platform is required to support this character encoding.
171171
* </p>
172172
*
173-
* @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
173+
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
174174
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
175175
*/
176176
@Deprecated
@@ -184,7 +184,7 @@ public static Charset toCharset(final String charset) {
184184
* Every implementation of the Java platform is required to support this character encoding.
185185
* </p>
186186
*
187-
* @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
187+
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
188188
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
189189
*/
190190
@Deprecated

0 commit comments

Comments
 (0)