Author: bayard Date: Fri Mar 22 07:37:03 2013 New Revision: 1459653 URL: http://svn.apache.org/r1459653 Log: Fixing urls to point to new oracle pages and not old, sometimes broken, sun urls
Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/CharEncoding.java commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Validate.java commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/EqualsBuilder.java commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/CharEncoding.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/CharEncoding.java?rev=1459653&r1=1459652&r2=1459653&view=diff ============================================================================== --- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/CharEncoding.java (original) +++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/CharEncoding.java Fri Mar 22 07:37:03 2013 @@ -23,7 +23,7 @@ import java.nio.charset.IllegalCharsetNa /** * <p>Character encoding names required of every implementation of the Java platform.</p> * - * <p>According to <a href="http://java.sun.com/j2se/1.3/docs/api/java/lang/package-summary.html#charenc">JRE character + * <p>According to <a href="http://docs.oracle.com/javase/1.3/docs/api/java/lang/package-summary.html#charenc">JRE character * encoding names</a>:</p> * * <p><cite>Every implementation of the Java platform is required to support the following character encodings. Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java?rev=1459653&r1=1459652&r2=1459653&view=diff ============================================================================== --- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java (original) +++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java Fri Mar 22 07:37:03 2013 @@ -454,7 +454,7 @@ public class ClassUtils { * specified {@code Class} parameter can be converted to the type * represented by this {@code Class} object via an identity conversion * widening primitive or widening reference conversion. See - * <em><a href="http://java.sun.com/docs/books/jls/">The Java Language Specification</a></em>, + * <em><a href="http://docs.oracle.com/javase/specs/">The Java Language Specification</a></em>, * sections 5.1.1, 5.1.2 and 5.1.4 for details.</p> * * <p><strong>Since Lang 3.0,</strong> this method will default behavior for @@ -494,7 +494,7 @@ public class ClassUtils { * specified {@code Class} parameter can be converted to the type * represented by this {@code Class} object via an identity conversion * widening primitive or widening reference conversion. See - * <em><a href="http://java.sun.com/docs/books/jls/">The Java Language Specification</a></em>, + * <em><a href="http://docs.oracle.com/javase/specs/">The Java Language Specification</a></em>, * sections 5.1.1, 5.1.2 and 5.1.4 for details.</p> * * @param classArray the array of Classes to check, may be {@code null} @@ -570,7 +570,7 @@ public class ClassUtils { * specified {@code Class} parameter can be converted to the type * represented by this {@code Class} object via an identity conversion * widening primitive or widening reference conversion. See - * <em><a href="http://java.sun.com/docs/books/jls/">The Java Language Specification</a></em>, + * <em><a href="http://docs.oracle.com/javase/specs/">The Java Language Specification</a></em>, * sections 5.1.1, 5.1.2 and 5.1.4 for details.</p> * * <p><strong>Since Lang 3.0,</strong> this method will default behavior for @@ -605,7 +605,7 @@ public class ClassUtils { * specified {@code Class} parameter can be converted to the type * represented by this {@code Class} object via an identity conversion * widening primitive or widening reference conversion. See - * <em><a href="http://java.sun.com/docs/books/jls/">The Java Language Specification</a></em>, + * <em><a href="http://docs.oracle.com/javase/specs/">The Java Language Specification</a></em>, * sections 5.1.1, 5.1.2 and 5.1.4 for details.</p> * * @param cls the Class to check, may be null Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Validate.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Validate.java?rev=1459653&r1=1459652&r2=1459653&view=diff ============================================================================== --- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Validate.java (original) +++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Validate.java Fri Mar 22 07:37:03 2013 @@ -31,7 +31,7 @@ import java.util.regex.Pattern; * </ul> * * <p>All exceptions messages are - * <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Formatter.html#syntax">format strings</a> + * <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Formatter.html#syntax">format strings</a> * as defined by the Java platform. For example:</p> * * <pre> Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/EqualsBuilder.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/EqualsBuilder.java?rev=1459653&r1=1459652&r2=1459653&view=diff ============================================================================== --- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/EqualsBuilder.java (original) +++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/EqualsBuilder.java Fri Mar 22 07:37:03 2013 @@ -31,7 +31,7 @@ import org.apache.commons.lang3.tuple.Pa * * <p> This class provides methods to build a good equals method for any * class. It follows rules laid out in - * <a href="http://java.sun.com/docs/books/effective/index.html">Effective Java</a> + * <a href="http://www.oracle.com/technetwork/java/effectivejava-136174.html">Effective Java</a> * , by Joshua Bloch. In particular the rule for comparing <code>doubles</code>, * <code>floats</code>, and arrays can be tricky. Also, making sure that * <code>equals()</code> and <code>hashCode()</code> are consistent can be Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java?rev=1459653&r1=1459652&r2=1459653&view=diff ============================================================================== --- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java (original) +++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java Fri Mar 22 07:37:03 2013 @@ -33,7 +33,7 @@ import org.apache.commons.lang3.ArrayUti * * <p> * This class enables a good <code>hashCode</code> method to be built for any class. It follows the rules laid out in - * the book <a href="http://java.sun.com/docs/books/effective/index.html">Effective Java</a> by Joshua Bloch. Writing a + * the book <a href="http://www.oracle.com/technetwork/java/effectivejava-136174.html">Effective Java</a> by Joshua Bloch. Writing a * good <code>hashCode</code> method is actually quite difficult. This class aims to simplify the process. * </p> * Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java?rev=1459653&r1=1459652&r2=1459653&view=diff ============================================================================== --- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java (original) +++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java Fri Mar 22 07:37:03 2013 @@ -35,23 +35,23 @@ public class StringUtilsEqualsIndexOfTes private static final String BAR = "bar"; /** * Supplementary character U+20000 - * See http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ + * See http://www.oracle.com/technetwork/articles/javase/supplementary-142654.html */ private static final String CharU20000 = "\uD840\uDC00"; /** * Supplementary character U+20001 - * See http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ + * See http://www.oracle.com/technetwork/articles/javase/supplementary-142654.html */ private static final String CharU20001 = "\uD840\uDC01"; /** * Incomplete supplementary character U+20000, high surrogate only. - * See http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ + * See http://www.oracle.com/technetwork/articles/javase/supplementary-142654.html */ private static final String CharUSuppCharHigh = "\uDC00"; /** * Incomplete supplementary character U+20000, low surrogate only. - * See http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ + * See http://www.oracle.com/technetwork/articles/javase/supplementary-142654.html */ private static final String CharUSuppCharLow = "\uD840"; @@ -89,7 +89,7 @@ public class StringUtilsEqualsIndexOfTes } /** - * See http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ + * See http://www.oracle.com/technetwork/articles/javase/supplementary-142654.html */ @Test public void testContains_StringWithBadSupplementaryChars() { @@ -104,7 +104,7 @@ public class StringUtilsEqualsIndexOfTes } /** - * See http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ + * See http://www.oracle.com/technetwork/articles/javase/supplementary-142654.html */ @Test public void testContains_StringWithSupplementaryChars() { @@ -132,7 +132,7 @@ public class StringUtilsEqualsIndexOfTes } /** - * See http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ + * See http://www.oracle.com/technetwork/articles/javase/supplementary-142654.html */ @Test public void testContainsAny_StringCharArrayWithBadSupplementaryChars() { @@ -147,7 +147,7 @@ public class StringUtilsEqualsIndexOfTes } /** - * See http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ + * See http://www.oracle.com/technetwork/articles/javase/supplementary-142654.html */ @Test public void testContainsAny_StringCharArrayWithSupplementaryChars() { @@ -184,7 +184,7 @@ public class StringUtilsEqualsIndexOfTes } /** - * See http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ + * See http://www.oracle.com/technetwork/articles/javase/supplementary-142654.html */ @Test public void testContainsAny_StringWithBadSupplementaryChars() { @@ -198,7 +198,7 @@ public class StringUtilsEqualsIndexOfTes } /** - * See http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ + * See http://www.oracle.com/technetwork/articles/javase/supplementary-142654.html */ @Test public void testContainsAny_StringWithSupplementaryChars() { @@ -311,7 +311,7 @@ public class StringUtilsEqualsIndexOfTes } /** - * See http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ + * See http://www.oracle.com/technetwork/articles/javase/supplementary-142654.html */ @Test public void testContainsNone_CharArrayWithBadSupplementaryChars() { @@ -326,7 +326,7 @@ public class StringUtilsEqualsIndexOfTes } /** - * See http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ + * See http://www.oracle.com/technetwork/articles/javase/supplementary-142654.html */ @Test public void testContainsNone_CharArrayWithSupplementaryChars() { @@ -368,7 +368,7 @@ public class StringUtilsEqualsIndexOfTes } /** - * See http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ + * See http://www.oracle.com/technetwork/articles/javase/supplementary-142654.html */ @Test public void testContainsNone_StringWithBadSupplementaryChars() { @@ -383,7 +383,7 @@ public class StringUtilsEqualsIndexOfTes } /** - * See http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ + * See http://www.oracle.com/technetwork/articles/javase/supplementary-142654.html */ @Test public void testContainsNone_StringWithSupplementaryChars() { @@ -640,7 +640,7 @@ public class StringUtilsEqualsIndexOfTes } /** - * See http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ + * See http://www.oracle.com/technetwork/articles/javase/supplementary-142654.html */ @Test public void testIndexOfAny_StringCharArrayWithSupplementaryChars() { @@ -686,7 +686,7 @@ public class StringUtilsEqualsIndexOfTes } /** - * See http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ + * See http://www.oracle.com/technetwork/articles/javase/supplementary-142654.html */ @Test public void testIndexOfAny_StringStringWithSupplementaryChars() {