diff --git a/src/main/java/org/apache/commons/lang3/CharSetUtils.java b/src/main/java/org/apache/commons/lang3/CharSetUtils.java index 198a6535a..b1efea59d 100644 --- a/src/main/java/org/apache/commons/lang3/CharSetUtils.java +++ b/src/main/java/org/apache/commons/lang3/CharSetUtils.java @@ -44,7 +44,7 @@ public class CharSetUtils { * CharSetUtils.containsAny("hello", "a-d") = false * * - * @see CharSet#getInstance(java.lang.String...) for set-syntax. + * @see CharSet#getInstance(String...) for set-syntax. * @param str String to look for characters in, may be null * @param set String[] set of characters to identify, may be null * @return whether or not the characters in the set are in the primary string @@ -76,7 +76,7 @@ public class CharSetUtils { * CharSetUtils.count("hello", "a-e") = 1 * * - * @see CharSet#getInstance(java.lang.String...) for set-syntax. + * @see CharSet#getInstance(String...) for set-syntax. * @param str String to count characters in, may be null * @param set String[] set of characters to count, may be null * @return the character count, zero if null string input @@ -119,7 +119,7 @@ public class CharSetUtils { * CharSetUtils.delete("hello", "le") = "ho" * * - * @see CharSet#getInstance(java.lang.String...) for set-syntax. + * @see CharSet#getInstance(String...) for set-syntax. * @param str String to delete characters from, may be null * @param set String[] set of characters to delete, may be null * @return the modified String, {@code null} if null string input @@ -144,7 +144,7 @@ public class CharSetUtils { * CharSetUtils.keep("hello", "le") = "ell" * * - * @see CharSet#getInstance(java.lang.String...) for set-syntax. + * @see CharSet#getInstance(String...) for set-syntax. * @param str String to keep characters from, may be null * @param set String[] set of characters to keep, may be null * @return the modified String, {@code null} if null string input @@ -193,7 +193,7 @@ public class CharSetUtils { * CharSetUtils.squeeze("hello", "a-e") = "hello" * * - * @see CharSet#getInstance(java.lang.String...) for set-syntax. + * @see CharSet#getInstance(String...) for set-syntax. * @param str the string to squeeze, may be null * @param set the character set to use for manipulation, may be null * @return the modified String, {@code null} if null string input diff --git a/src/main/java/org/apache/commons/lang3/StringEscapeUtils.java b/src/main/java/org/apache/commons/lang3/StringEscapeUtils.java index c70020ffe..2aee2ca52 100644 --- a/src/main/java/org/apache/commons/lang3/StringEscapeUtils.java +++ b/src/main/java/org/apache/commons/lang3/StringEscapeUtils.java @@ -653,7 +653,7 @@ public class StringEscapeUtils { * * @param input the {@link String} to escape, may be null * @return a new escaped {@link String}, {@code null} if null string input - * @see #unescapeXml(java.lang.String) + * @see #unescapeXml(String) * @deprecated use {@link #escapeXml10(java.lang.String)} or {@link #escapeXml11(java.lang.String)} instead. */ @Deprecated @@ -686,7 +686,7 @@ public class StringEscapeUtils { * * @param input the {@link String} to escape, may be null * @return a new escaped {@link String}, {@code null} if null string input - * @see #unescapeXml(java.lang.String) + * @see #unescapeXml(String) * @since 3.3 */ public static String escapeXml10(final String input) { @@ -716,7 +716,7 @@ public class StringEscapeUtils { * * @param input the {@link String} to escape, may be null * @return a new escaped {@link String}, {@code null} if null string input - * @see #unescapeXml(java.lang.String) + * @see #unescapeXml(String) * @since 3.3 */ public static String escapeXml11(final String input) { diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java index eddebf700..501c20f01 100644 --- a/src/main/java/org/apache/commons/lang3/StringUtils.java +++ b/src/main/java/org/apache/commons/lang3/StringUtils.java @@ -118,7 +118,7 @@ import org.apache.commons.lang3.stream.Streams; * The symbol {@code *} is used to indicate any input including {@code null}.

* *

#ThreadSafe#

- * @see java.lang.String + * @see String * @since 1.0 */ //@Immutable @@ -1670,7 +1670,7 @@ public class StringUtils { * StringUtils.endsWith("ABCDEF", "") = true * * - * @see java.lang.String#endsWith(String) + * @see String#endsWith(String) * @param str the CharSequence to check, may be null * @param suffix the suffix to find, may be null * @return {@code true} if the CharSequence ends with the suffix, case-sensitive, or @@ -1685,7 +1685,7 @@ public class StringUtils { /** * Check if a CharSequence ends with a specified suffix (optionally case insensitive). * - * @see java.lang.String#endsWith(String) + * @see String#endsWith(String) * @param str the CharSequence to check, may be null * @param suffix the suffix to find, may be null * @param ignoreCase indicates whether the compare should ignore case @@ -1752,7 +1752,7 @@ public class StringUtils { * StringUtils.endsWithIgnoreCase("ABCDEF", "cde") = false * * - * @see java.lang.String#endsWith(String) + * @see String#endsWith(String) * @param str the CharSequence to check, may be null * @param suffix the suffix to find, may be null * @return {@code true} if the CharSequence ends with the suffix, case-insensitive, or @@ -7960,7 +7960,7 @@ public class StringUtils { * StringUtils.startsWith("ABCDEF", "abc") = false * * - * @see java.lang.String#startsWith(String) + * @see String#startsWith(String) * @param str the CharSequence to check, may be null * @param prefix the prefix to find, may be null * @return {@code true} if the CharSequence starts with the prefix, case-sensitive, or @@ -7975,7 +7975,7 @@ public class StringUtils { /** * Check if a CharSequence starts with a specified prefix (optionally case insensitive). * - * @see java.lang.String#startsWith(String) + * @see String#startsWith(String) * @param str the CharSequence to check, may be null * @param prefix the prefix to find, may be null * @param ignoreCase indicates whether the compare should ignore case @@ -8043,7 +8043,7 @@ public class StringUtils { * StringUtils.startsWithIgnoreCase("ABCDEF", "abc") = true * * - * @see java.lang.String#startsWith(String) + * @see String#startsWith(String) * @param str the CharSequence to check, may be null * @param prefix the prefix to find, may be null * @return {@code true} if the CharSequence starts with the prefix, case-insensitive, or diff --git a/src/main/java/org/apache/commons/lang3/ThreadUtils.java b/src/main/java/org/apache/commons/lang3/ThreadUtils.java index d602793f2..efcb8bf34 100644 --- a/src/main/java/org/apache/commons/lang3/ThreadUtils.java +++ b/src/main/java/org/apache/commons/lang3/ThreadUtils.java @@ -34,8 +34,8 @@ import org.apache.commons.lang3.time.DurationUtils; * #ThreadSafe# *

* - * @see java.lang.Thread - * @see java.lang.ThreadGroup + * @see Thread + * @see ThreadGroup * @since 3.5 */ public class ThreadUtils { diff --git a/src/main/java/org/apache/commons/lang3/Validate.java b/src/main/java/org/apache/commons/lang3/Validate.java index 370641a0c..7e406379d 100644 --- a/src/main/java/org/apache/commons/lang3/Validate.java +++ b/src/main/java/org/apache/commons/lang3/Validate.java @@ -41,7 +41,7 @@ import java.util.regex.Pattern; * * *

#ThreadSafe#

- * @see java.lang.String#format(String, Object...) + * @see String#format(String, Object...) * @since 2.0 */ public class Validate { @@ -837,7 +837,7 @@ public class Validate { * * @param value the value to validate * @throws IllegalArgumentException if the value is not a number - * @see #notNaN(double, java.lang.String, java.lang.Object...) + * @see #notNaN(double, java.lang.String, Object...) * * @since 3.5 */ @@ -875,7 +875,7 @@ public class Validate { * * @param value the value to validate * @throws IllegalArgumentException if the value is infinite or Not-a-Number (NaN) - * @see #finite(double, java.lang.String, java.lang.Object...) + * @see #finite(double, java.lang.String, Object...) * * @since 3.5 */ diff --git a/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java b/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java index f3dd7df0e..844ec86be 100644 --- a/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java +++ b/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java @@ -87,9 +87,9 @@ import org.apache.commons.lang3.ObjectUtils; * {@link Class#getDeclaredFields()}. The fields of the class are compared first, followed by those * of its parent classes (in order from the bottom to the top of the class hierarchy).

* - * @see java.lang.Comparable - * @see java.lang.Object#equals(Object) - * @see java.lang.Object#hashCode() + * @see Comparable + * @see Object#equals(Object) + * @see Object#hashCode() * @see EqualsBuilder * @see HashCodeBuilder * @since 1.0 diff --git a/src/main/java/org/apache/commons/lang3/builder/package-info.java b/src/main/java/org/apache/commons/lang3/builder/package-info.java index 948540255..216706718 100644 --- a/src/main/java/org/apache/commons/lang3/builder/package-info.java +++ b/src/main/java/org/apache/commons/lang3/builder/package-info.java @@ -23,10 +23,10 @@ * Well {@link org.apache.commons.lang3.builder.HashCodeBuilder} will save your day. * It, and its buddies ({@link org.apache.commons.lang3.builder.EqualsBuilder}, {@link org.apache.commons.lang3.builder.CompareToBuilder}, {@link org.apache.commons.lang3.builder.ToStringBuilder}), take care of the nasty bits while you focus on the important bits, like which fields will go into making up the hashcode.

* - * @see java.lang.Object#equals(Object) - * @see java.lang.Object#toString() - * @see java.lang.Object#hashCode() - * @see java.lang.Comparable#compareTo(Object) + * @see Object#equals(Object) + * @see Object#toString() + * @see Object#hashCode() + * @see Comparable#compareTo(Object) * * @since 1.0 */ diff --git a/src/main/java/org/apache/commons/lang3/exception/ContextedException.java b/src/main/java/org/apache/commons/lang3/exception/ContextedException.java index d02214768..b4c94537d 100644 --- a/src/main/java/org/apache/commons/lang3/exception/ContextedException.java +++ b/src/main/java/org/apache/commons/lang3/exception/ContextedException.java @@ -224,7 +224,7 @@ public class ContextedException extends Exception implements ExceptionContext { /** * Provides the message explaining the exception, including the contextual data. * - * @see java.lang.Throwable#getMessage() + * @see Throwable#getMessage() * @return the message, never null */ @Override @@ -235,7 +235,7 @@ public class ContextedException extends Exception implements ExceptionContext { /** * Provides the message explaining the exception without the contextual data. * - * @see java.lang.Throwable#getMessage() + * @see Throwable#getMessage() * @return the message * @since 3.0.1 */ diff --git a/src/main/java/org/apache/commons/lang3/exception/ContextedRuntimeException.java b/src/main/java/org/apache/commons/lang3/exception/ContextedRuntimeException.java index a83dccf88..59e4e5990 100644 --- a/src/main/java/org/apache/commons/lang3/exception/ContextedRuntimeException.java +++ b/src/main/java/org/apache/commons/lang3/exception/ContextedRuntimeException.java @@ -224,7 +224,7 @@ public class ContextedRuntimeException extends RuntimeException implements Excep /** * Provides the message explaining the exception, including the contextual data. * - * @see java.lang.Throwable#getMessage() + * @see Throwable#getMessage() * @return the message, never null */ @Override @@ -235,7 +235,7 @@ public class ContextedRuntimeException extends RuntimeException implements Excep /** * Provides the message explaining the exception without the contextual data. * - * @see java.lang.Throwable#getMessage() + * @see Throwable#getMessage() * @return the message * @since 3.0.1 */ diff --git a/src/main/java/org/apache/commons/lang3/mutable/MutableFloat.java b/src/main/java/org/apache/commons/lang3/mutable/MutableFloat.java index 6d6c30eef..d1aa9f802 100644 --- a/src/main/java/org/apache/commons/lang3/mutable/MutableFloat.java +++ b/src/main/java/org/apache/commons/lang3/mutable/MutableFloat.java @@ -366,7 +366,7 @@ public class MutableFloat extends Number implements Comparable, Mu * * @param obj the object to compare with, null returns false * @return {@code true} if the objects are the same; {@code false} otherwise. - * @see java.lang.Float#floatToIntBits(float) + * @see Float#floatToIntBits(float) */ @Override public boolean equals(final Object obj) { diff --git a/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java b/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java index 68a70a3a0..9d6c90ae1 100644 --- a/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java +++ b/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java @@ -73,7 +73,7 @@ public class ConstructorUtils { * @throws IllegalAccessException if invocation is not permitted by security * @throws InvocationTargetException if an error occurs on invocation * @throws InstantiationException if an error occurs on instantiation - * @see #invokeConstructor(java.lang.Class, java.lang.Object[], java.lang.Class[]) + * @see #invokeConstructor(java.lang.Class, java.lang.Object[], Class[]) */ public static T invokeConstructor(final Class cls, Object... args) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, @@ -136,7 +136,7 @@ public class ConstructorUtils { * @throws IllegalAccessException if invocation is not permitted by security * @throws InvocationTargetException if an error occurs on invocation * @throws InstantiationException if an error occurs on instantiation - * @see #invokeExactConstructor(java.lang.Class, java.lang.Object[], java.lang.Class[]) + * @see #invokeExactConstructor(java.lang.Class, java.lang.Object[], Class[]) */ public static T invokeExactConstructor(final Class cls, Object... args) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, @@ -210,7 +210,7 @@ public class ConstructorUtils { * @param the constructor type * @param ctor the prototype constructor object, not {@code null} * @return the constructor, {@code null} if no matching accessible constructor found - * @see java.lang.SecurityManager + * @see SecurityManager * @throws NullPointerException if {@code ctor} is {@code null} */ public static Constructor getAccessibleConstructor(final Constructor ctor) { diff --git a/src/main/java/org/apache/commons/lang3/time/FastDateFormat.java b/src/main/java/org/apache/commons/lang3/time/FastDateFormat.java index 5b55d888a..7bec111bc 100644 --- a/src/main/java/org/apache/commons/lang3/time/FastDateFormat.java +++ b/src/main/java/org/apache/commons/lang3/time/FastDateFormat.java @@ -540,7 +540,7 @@ public class FastDateFormat extends Format implements DateParser, DatePrinter { /* (non-Javadoc) - * @see DateParser#parse(java.lang.String) + * @see DateParser#parse(String) */ @Override public Date parse(final String source) throws ParseException { @@ -548,7 +548,7 @@ public class FastDateFormat extends Format implements DateParser, DatePrinter { } /* (non-Javadoc) - * @see DateParser#parse(java.lang.String, java.text.ParsePosition) + * @see DateParser#parse(String, java.text.ParsePosition) */ @Override public Date parse(final String source, final ParsePosition pos) { @@ -557,7 +557,7 @@ public class FastDateFormat extends Format implements DateParser, DatePrinter { /* * (non-Javadoc) - * @see org.apache.commons.lang3.time.DateParser#parse(java.lang.String, java.text.ParsePosition, java.util.Calendar) + * @see org.apache.commons.lang3.time.DateParser#parse(String, java.text.ParsePosition, java.util.Calendar) */ @Override public boolean parse(final String source, final ParsePosition pos, final Calendar calendar) { @@ -565,7 +565,7 @@ public class FastDateFormat extends Format implements DateParser, DatePrinter { } /* (non-Javadoc) - * @see java.text.Format#parseObject(java.lang.String, java.text.ParsePosition) + * @see java.text.Format#parseObject(String, java.text.ParsePosition) */ @Override public Object parseObject(final String source, final ParsePosition pos) { diff --git a/src/main/java/org/apache/commons/lang3/time/FastDateParser.java b/src/main/java/org/apache/commons/lang3/time/FastDateParser.java index a6347d0f6..b4506e704 100644 --- a/src/main/java/org/apache/commons/lang3/time/FastDateParser.java +++ b/src/main/java/org/apache/commons/lang3/time/FastDateParser.java @@ -367,7 +367,7 @@ public class FastDateParser implements DateParser, Serializable { } /* (non-Javadoc) - * @see org.apache.commons.lang3.time.DateParser#parseObject(java.lang.String) + * @see org.apache.commons.lang3.time.DateParser#parseObject(String) */ @Override public Object parseObject(final String source) throws ParseException { @@ -375,7 +375,7 @@ public class FastDateParser implements DateParser, Serializable { } /* (non-Javadoc) - * @see org.apache.commons.lang3.time.DateParser#parse(java.lang.String) + * @see org.apache.commons.lang3.time.DateParser#parse(String) */ @Override public Date parse(final String source) throws ParseException { @@ -393,7 +393,7 @@ public class FastDateParser implements DateParser, Serializable { } /* (non-Javadoc) - * @see org.apache.commons.lang3.time.DateParser#parseObject(java.lang.String, java.text.ParsePosition) + * @see org.apache.commons.lang3.time.DateParser#parseObject(String, java.text.ParsePosition) */ @Override public Object parseObject(final String source, final ParsePosition pos) { @@ -410,7 +410,7 @@ public class FastDateParser implements DateParser, Serializable { * given by {@link ParsePosition#getIndex()} has been updated. If the input buffer has been fully * parsed, then the index will point to just after the end of the input buffer. * - * @see org.apache.commons.lang3.time.DateParser#parse(java.lang.String, java.text.ParsePosition) + * @see org.apache.commons.lang3.time.DateParser#parse(String, java.text.ParsePosition) */ @Override public Date parse(final String source, final ParsePosition pos) { diff --git a/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java b/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java index b1bbedc25..156afd8c7 100644 --- a/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java +++ b/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java @@ -495,7 +495,7 @@ public class FastDatePrinter implements DatePrinter, Serializable { } /* (non-Javadoc) - * @see org.apache.commons.lang3.time.DatePrinter#format(long, java.lang.StringBuffer) + * @see org.apache.commons.lang3.time.DatePrinter#format(long, StringBuffer) */ @Override public StringBuffer format(final long millis, final StringBuffer buf) { @@ -505,7 +505,7 @@ public class FastDatePrinter implements DatePrinter, Serializable { } /* (non-Javadoc) - * @see org.apache.commons.lang3.time.DatePrinter#format(java.util.Date, java.lang.StringBuffer) + * @see org.apache.commons.lang3.time.DatePrinter#format(java.util.Date, StringBuffer) */ @Override public StringBuffer format(final Date date, final StringBuffer buf) { @@ -515,7 +515,7 @@ public class FastDatePrinter implements DatePrinter, Serializable { } /* (non-Javadoc) - * @see org.apache.commons.lang3.time.DatePrinter#format(java.util.Calendar, java.lang.StringBuffer) + * @see org.apache.commons.lang3.time.DatePrinter#format(java.util.Calendar, StringBuffer) */ @Override public StringBuffer format(final Calendar calendar, final StringBuffer buf) { @@ -524,7 +524,7 @@ public class FastDatePrinter implements DatePrinter, Serializable { } /* (non-Javadoc) - * @see org.apache.commons.lang3.time.DatePrinter#format(long, java.lang.Appendable) + * @see org.apache.commons.lang3.time.DatePrinter#format(long, Appendable) */ @Override public B format(final long millis, final B buf) { @@ -534,7 +534,7 @@ public class FastDatePrinter implements DatePrinter, Serializable { } /* (non-Javadoc) - * @see org.apache.commons.lang3.time.DatePrinter#format(java.util.Date, java.lang.Appendable) + * @see org.apache.commons.lang3.time.DatePrinter#format(java.util.Date, Appendable) */ @Override public B format(final Date date, final B buf) { @@ -544,7 +544,7 @@ public class FastDatePrinter implements DatePrinter, Serializable { } /* (non-Javadoc) - * @see org.apache.commons.lang3.time.DatePrinter#format(java.util.Calendar, java.lang.Appendable) + * @see org.apache.commons.lang3.time.DatePrinter#format(java.util.Calendar, Appendable) */ @Override public B format(Calendar calendar, final B buf) {