Author: ggregory Date: Wed Mar 28 15:28:13 2012 New Revision: 1306415 URL: http://svn.apache.org/viewvc?rev=1306415&view=rev Log: Replace "http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html" with "http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html"
Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/CharEncoding.java commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/StringUtils.java commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/RFC1522Codec.java Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/CharEncoding.java URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/CharEncoding.java?rev=1306415&r1=1306414&r2=1306415&view=diff ============================================================================== --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/CharEncoding.java (original) +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/CharEncoding.java Wed Mar 28 15:28:13 2012 @@ -20,7 +20,7 @@ package org.apache.commons.codec; /** * Character encoding names required of every implementation of the Java platform. * - * From the Java documentation <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard + * From the Java documentation <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard * charsets</a>: * <p> * <cite>Every implementation of the Java platform is required to support the following character encodings. Consult the @@ -47,7 +47,7 @@ package org.apache.commons.codec; * This perhaps would best belong in the [lang] project. Even if a similar interface is defined in [lang], it is not * foreseen that [codec] would be made to depend on [lang]. * - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> * @author Apache Software Foundation * @since 1.4 * @version $Id$ @@ -59,7 +59,7 @@ public class CharEncoding { * Every implementation of the Java platform is required to support this character encoding. * </p> * - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ public static final String ISO_8859_1 = "ISO-8859-1"; @@ -71,7 +71,7 @@ public class CharEncoding { * Every implementation of the Java platform is required to support this character encoding. * </p> * - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ public static final String US_ASCII = "US-ASCII"; @@ -84,7 +84,7 @@ public class CharEncoding { * Every implementation of the Java platform is required to support this character encoding. * </p> * - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ public static final String UTF_16 = "UTF-16"; @@ -96,7 +96,7 @@ public class CharEncoding { * Every implementation of the Java platform is required to support this character encoding. * </p> * - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ public static final String UTF_16BE = "UTF-16BE"; @@ -108,7 +108,7 @@ public class CharEncoding { * Every implementation of the Java platform is required to support this character encoding. * </p> * - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ public static final String UTF_16LE = "UTF-16LE"; @@ -120,7 +120,7 @@ public class CharEncoding { * Every implementation of the Java platform is required to support this character encoding. * </p> * - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ public static final String UTF_8 = "UTF-8"; } \ No newline at end of file Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/StringUtils.java URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/StringUtils.java?rev=1306415&r1=1306414&r2=1306415&view=diff ============================================================================== --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/StringUtils.java (original) +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/StringUtils.java Wed Mar 28 15:28:13 2012 @@ -25,10 +25,10 @@ import org.apache.commons.codec.Charsets /** * Converts String to and from bytes using the encodings required by the Java specification. These encodings are specified in <a - * href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> * * @see CharEncoding - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> * @author <a href="mailto:ggreg...@seagullsw.com">Gary Gregory</a> * @version $Id$ * @since 1.4 @@ -62,7 +62,7 @@ public class StringUtils { * Thrown if {@link Charsets#ISO_8859_1} is not initialized, which should never happen since it is * required by the Java platform specification. * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> * @see #getBytesUnchecked(String, String) */ public static byte[] getBytesIso8859_1(String string) { @@ -111,7 +111,7 @@ public class StringUtils { * Thrown if {@link Charsets#US_ASCII} is not initialized, which should never happen since it is * required by the Java platform specification. * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> * @see #getBytesUnchecked(String, String) */ public static byte[] getBytesUsAscii(String string) { @@ -129,7 +129,7 @@ public class StringUtils { * Thrown if {@link Charsets#UTF_16} is not initialized, which should never happen since it is * required by the Java platform specification. * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> * @see #getBytesUnchecked(String, String) */ public static byte[] getBytesUtf16(String string) { @@ -147,7 +147,7 @@ public class StringUtils { * Thrown if {@link Charsets#UTF_16BE} is not initialized, which should never happen since it is * required by the Java platform specification. * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> * @see #getBytesUnchecked(String, String) */ public static byte[] getBytesUtf16Be(String string) { @@ -165,7 +165,7 @@ public class StringUtils { * Thrown if {@link Charsets#UTF_16LE} is not initialized, which should never happen since it is * required by the Java platform specification. * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> * @see #getBytesUnchecked(String, String) */ public static byte[] getBytesUtf16Le(String string) { @@ -183,7 +183,7 @@ public class StringUtils { * Thrown if {@link Charsets#UTF_8} is not initialized, which should never happen since it is * required by the Java platform specification. * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> * @see #getBytesUnchecked(String, String) */ public static byte[] getBytesUtf8(String string) { Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java?rev=1306415&r1=1306414&r2=1306415&view=diff ============================================================================== --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java (original) +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java Wed Mar 28 15:28:13 2012 @@ -66,7 +66,7 @@ public class BCodec extends RFC1522Codec * @param charset * the default string charset to use. * - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ public BCodec(final Charset charset) { this.charset = charset; @@ -80,7 +80,7 @@ public class BCodec extends RFC1522Codec * @throws UnsupportedCharsetException * If the named charset is unavailable * @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ public BCodec(final String charsetName) { this(Charset.forName(charsetName)); Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java?rev=1306415&r1=1306414&r2=1306415&view=diff ============================================================================== --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java (original) +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java Wed Mar 28 15:28:13 2012 @@ -121,7 +121,7 @@ public class QCodec extends RFC1522Codec * @param charset * the default string charset to use. * - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ public QCodec(final Charset charset) { super(); @@ -136,7 +136,7 @@ public class QCodec extends RFC1522Codec * @throws UnsupportedCharsetException * If the named charset is unavailable * @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ public QCodec(final String charsetName) { this(Charset.forName(charsetName)); Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/RFC1522Codec.java URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/RFC1522Codec.java?rev=1306415&r1=1306414&r2=1306415&view=diff ============================================================================== --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/RFC1522Codec.java (original) +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/RFC1522Codec.java Wed Mar 28 15:28:13 2012 @@ -75,7 +75,7 @@ abstract class RFC1522Codec { * * @throws EncoderException thrown if there is an error condition during the Encoding * process. - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ protected String encodeText(final String text, final Charset charset) throws EncoderException @@ -110,7 +110,7 @@ abstract class RFC1522Codec { * process. * @throws UnsupportedEncodingException if charset is not available * - * @see <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ protected String encodeText(final String text, final String charsetName) throws EncoderException, UnsupportedEncodingException