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
This commit is contained in:
parent
3b69ed8d34
commit
fbf996cb7e
|
@ -23,7 +23,7 @@ import java.nio.charset.IllegalCharsetNameException;
|
|||
/**
|
||||
* <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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -31,7 +31,7 @@ import org.apache.commons.lang3.tuple.Pair;
|
|||
*
|
||||
* <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
|
||||
|
|
|
@ -33,7 +33,7 @@ import org.apache.commons.lang3.ArrayUtils;
|
|||
*
|
||||
* <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>
|
||||
*
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue