From fbf996cb7e637fe2f7ec81cc546452c5d0e2d8e5 Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Fri, 22 Mar 2013 07:37:03 +0000 Subject: [PATCH] Fixing urls to point to new oracle pages and not old, sometimes broken, sun urls git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1459653 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/commons/lang3/CharEncoding.java | 2 +- .../org/apache/commons/lang3/ClassUtils.java | 8 ++--- .../org/apache/commons/lang3/Validate.java | 2 +- .../commons/lang3/builder/EqualsBuilder.java | 2 +- .../lang3/builder/HashCodeBuilder.java | 2 +- .../lang3/StringUtilsEqualsIndexOfTest.java | 32 +++++++++---------- 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/CharEncoding.java b/src/main/java/org/apache/commons/lang3/CharEncoding.java index 4bc959430..2b48829b9 100644 --- a/src/main/java/org/apache/commons/lang3/CharEncoding.java +++ b/src/main/java/org/apache/commons/lang3/CharEncoding.java @@ -23,7 +23,7 @@ import java.nio.charset.IllegalCharsetNameException; /** *

Character encoding names required of every implementation of the Java platform.

* - *

According to JRE character + *

According to JRE character * encoding names:

* *

Every implementation of the Java platform is required to support the following character encodings. diff --git a/src/main/java/org/apache/commons/lang3/ClassUtils.java b/src/main/java/org/apache/commons/lang3/ClassUtils.java index a7d171d5b..3efa79226 100644 --- a/src/main/java/org/apache/commons/lang3/ClassUtils.java +++ b/src/main/java/org/apache/commons/lang3/ClassUtils.java @@ -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 - * The Java Language Specification, + * The Java Language Specification, * sections 5.1.1, 5.1.2 and 5.1.4 for details.

* *

Since Lang 3.0, 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 - * The Java Language Specification, + * The Java Language Specification, * sections 5.1.1, 5.1.2 and 5.1.4 for details.

* * @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 - * The Java Language Specification, + * The Java Language Specification, * sections 5.1.1, 5.1.2 and 5.1.4 for details.

* *

Since Lang 3.0, 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 - * The Java Language Specification, + * The Java Language Specification, * sections 5.1.1, 5.1.2 and 5.1.4 for details.

* * @param cls the Class to check, may be null diff --git a/src/main/java/org/apache/commons/lang3/Validate.java b/src/main/java/org/apache/commons/lang3/Validate.java index a791e523a..eb477d1c2 100644 --- a/src/main/java/org/apache/commons/lang3/Validate.java +++ b/src/main/java/org/apache/commons/lang3/Validate.java @@ -31,7 +31,7 @@ import java.util.regex.Pattern; * * *

All exceptions messages are - * format strings + * format strings * as defined by the Java platform. For example:

* *
diff --git a/src/main/java/org/apache/commons/lang3/builder/EqualsBuilder.java b/src/main/java/org/apache/commons/lang3/builder/EqualsBuilder.java
index 81d7a7fba..1c6eaff53 100644
--- a/src/main/java/org/apache/commons/lang3/builder/EqualsBuilder.java
+++ b/src/main/java/org/apache/commons/lang3/builder/EqualsBuilder.java
@@ -31,7 +31,7 @@ import org.apache.commons.lang3.tuple.Pair;
  *
  * 

This class provides methods to build a good equals method for any * class. It follows rules laid out in - * Effective Java + * Effective Java * , by Joshua Bloch. In particular the rule for comparing doubles, * floats, and arrays can be tricky. Also, making sure that * equals() and hashCode() are consistent can be diff --git a/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java b/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java index 851177623..8b2415ab9 100644 --- a/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java +++ b/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java @@ -33,7 +33,7 @@ import org.apache.commons.lang3.ArrayUtils; * *

* This class enables a good hashCode method to be built for any class. It follows the rules laid out in - * the book Effective Java by Joshua Bloch. Writing a + * the book Effective Java by Joshua Bloch. Writing a * good hashCode method is actually quite difficult. This class aims to simplify the process. *

* diff --git a/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java b/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java index 0bc1e6ed8..663c00af4 100644 --- a/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java +++ b/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java @@ -35,23 +35,23 @@ public class StringUtilsEqualsIndexOfTest { 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 StringUtilsEqualsIndexOfTest { } /** - * 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 StringUtilsEqualsIndexOfTest { } /** - * 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 StringUtilsEqualsIndexOfTest { } /** - * 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 StringUtilsEqualsIndexOfTest { } /** - * 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 StringUtilsEqualsIndexOfTest { } /** - * 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 StringUtilsEqualsIndexOfTest { } /** - * 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 StringUtilsEqualsIndexOfTest { } /** - * 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 StringUtilsEqualsIndexOfTest { } /** - * 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 StringUtilsEqualsIndexOfTest { } /** - * 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 StringUtilsEqualsIndexOfTest { } /** - * 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 StringUtilsEqualsIndexOfTest { } /** - * 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 StringUtilsEqualsIndexOfTest { } /** - * 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() {