Skip to content

Commit d66b439

Browse files
committed
1 parent 7bf19f9 commit d66b439

5 files changed

Lines changed: 22 additions & 22 deletions

File tree

src/main/java/org/apache/commons/codec/CharEncoding.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/**
2121
* Character encoding names required of every implementation of the Java platform.
2222
*
23-
* From the Java documentation <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard
23+
* From the Java documentation <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
2424
* charsets</a>:
2525
* <p>
2626
* <cite>Every implementation of the Java platform is required to support the following character encodings. Consult the
@@ -47,7 +47,7 @@
4747
* This perhaps would best belong in the [lang] project. Even if a similar interface is defined in [lang], it is not
4848
* foreseen that [codec] would be made to depend on [lang].
4949
*
50-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
50+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
5151
* @author Apache Software Foundation
5252
* @since 1.4
5353
* @version $Id$
@@ -59,7 +59,7 @@ public class CharEncoding {
5959
* Every implementation of the Java platform is required to support this character encoding.
6060
* </p>
6161
*
62-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
62+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
6363
*/
6464
public static final String ISO_8859_1 = "ISO-8859-1";
6565

@@ -71,7 +71,7 @@ public class CharEncoding {
7171
* Every implementation of the Java platform is required to support this character encoding.
7272
* </p>
7373
*
74-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
74+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
7575
*/
7676
public static final String US_ASCII = "US-ASCII";
7777

@@ -84,7 +84,7 @@ public class CharEncoding {
8484
* Every implementation of the Java platform is required to support this character encoding.
8585
* </p>
8686
*
87-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
87+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
8888
*/
8989
public static final String UTF_16 = "UTF-16";
9090

@@ -96,7 +96,7 @@ public class CharEncoding {
9696
* Every implementation of the Java platform is required to support this character encoding.
9797
* </p>
9898
*
99-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
99+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
100100
*/
101101
public static final String UTF_16BE = "UTF-16BE";
102102

@@ -108,7 +108,7 @@ public class CharEncoding {
108108
* Every implementation of the Java platform is required to support this character encoding.
109109
* </p>
110110
*
111-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
111+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
112112
*/
113113
public static final String UTF_16LE = "UTF-16LE";
114114

@@ -120,7 +120,7 @@ public class CharEncoding {
120120
* Every implementation of the Java platform is required to support this character encoding.
121121
* </p>
122122
*
123-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
123+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
124124
*/
125125
public static final String UTF_8 = "UTF-8";
126126
}

src/main/java/org/apache/commons/codec/binary/StringUtils.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525

2626
/**
2727
* Converts String to and from bytes using the encodings required by the Java specification. These encodings are specified in <a
28-
* href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
28+
* href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
2929
*
3030
* @see CharEncoding
31-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
31+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
3232
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
3333
* @version $Id$
3434
* @since 1.4
@@ -62,7 +62,7 @@ private static byte[] getBytes(String string, Charset charset) {
6262
* Thrown if {@link Charsets#ISO_8859_1} is not initialized, which should never happen since it is
6363
* required by the Java platform specification.
6464
* @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
65-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
65+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
6666
* @see #getBytesUnchecked(String, String)
6767
*/
6868
public static byte[] getBytesIso8859_1(String string) {
@@ -111,7 +111,7 @@ public static byte[] getBytesUnchecked(String string, String charsetName) {
111111
* Thrown if {@link Charsets#US_ASCII} is not initialized, which should never happen since it is
112112
* required by the Java platform specification.
113113
* @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
114-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
114+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
115115
* @see #getBytesUnchecked(String, String)
116116
*/
117117
public static byte[] getBytesUsAscii(String string) {
@@ -129,7 +129,7 @@ public static byte[] getBytesUsAscii(String string) {
129129
* Thrown if {@link Charsets#UTF_16} is not initialized, which should never happen since it is
130130
* required by the Java platform specification.
131131
* @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
132-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
132+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
133133
* @see #getBytesUnchecked(String, String)
134134
*/
135135
public static byte[] getBytesUtf16(String string) {
@@ -147,7 +147,7 @@ public static byte[] getBytesUtf16(String string) {
147147
* Thrown if {@link Charsets#UTF_16BE} is not initialized, which should never happen since it is
148148
* required by the Java platform specification.
149149
* @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
150-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
150+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
151151
* @see #getBytesUnchecked(String, String)
152152
*/
153153
public static byte[] getBytesUtf16Be(String string) {
@@ -165,7 +165,7 @@ public static byte[] getBytesUtf16Be(String string) {
165165
* Thrown if {@link Charsets#UTF_16LE} is not initialized, which should never happen since it is
166166
* required by the Java platform specification.
167167
* @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
168-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
168+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
169169
* @see #getBytesUnchecked(String, String)
170170
*/
171171
public static byte[] getBytesUtf16Le(String string) {
@@ -183,7 +183,7 @@ public static byte[] getBytesUtf16Le(String string) {
183183
* Thrown if {@link Charsets#UTF_8} is not initialized, which should never happen since it is
184184
* required by the Java platform specification.
185185
* @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
186-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
186+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
187187
* @see #getBytesUnchecked(String, String)
188188
*/
189189
public static byte[] getBytesUtf8(String string) {

src/main/java/org/apache/commons/codec/net/BCodec.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public BCodec() {
6666
* @param charset
6767
* the default string charset to use.
6868
*
69-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
69+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
7070
*/
7171
public BCodec(final Charset charset) {
7272
this.charset = charset;
@@ -80,7 +80,7 @@ public BCodec(final Charset charset) {
8080
* @throws UnsupportedCharsetException
8181
* If the named charset is unavailable
8282
* @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
83-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
83+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
8484
*/
8585
public BCodec(final String charsetName) {
8686
this(Charset.forName(charsetName));

src/main/java/org/apache/commons/codec/net/QCodec.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public QCodec() {
121121
* @param charset
122122
* the default string charset to use.
123123
*
124-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
124+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
125125
*/
126126
public QCodec(final Charset charset) {
127127
super();
@@ -136,7 +136,7 @@ public QCodec(final Charset charset) {
136136
* @throws UnsupportedCharsetException
137137
* If the named charset is unavailable
138138
* @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
139-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
139+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
140140
*/
141141
public QCodec(final String charsetName) {
142142
this(Charset.forName(charsetName));

src/main/java/org/apache/commons/codec/net/RFC1522Codec.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ abstract class RFC1522Codec {
7575
*
7676
* @throws EncoderException thrown if there is an error condition during the Encoding
7777
* process.
78-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
78+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
7979
*/
8080
protected String encodeText(final String text, final Charset charset)
8181
throws EncoderException
@@ -110,7 +110,7 @@ protected String encodeText(final String text, final Charset charset)
110110
* process.
111111
* @throws UnsupportedEncodingException if charset is not available
112112
*
113-
* @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
113+
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
114114
*/
115115
protected String encodeText(final String text, final String charsetName)
116116
throws EncoderException, UnsupportedEncodingException

0 commit comments

Comments
 (0)