Javadoc @link tags do not need to use a FQCN for classes in java.lang

This commit is contained in:
Gary Gregory 2022-08-29 07:36:33 -04:00
parent 83dd1284e4
commit 8b6f18cb0d
4 changed files with 5 additions and 5 deletions

View File

@ -62,7 +62,7 @@ public class ObjectUtils {
* has another meaning. * has another meaning.
* *
* <p>For example, in a {@link HashMap} the * <p>For example, in a {@link HashMap} the
* {@link java.util.HashMap#get(java.lang.Object)} method returns * {@link java.util.HashMap#get(Object)} method returns
* {@code null} if the {@link Map} contains {@code null} or if there is * {@code null} if the {@link Map} contains {@code null} or if there is
* no matching key. The {@code null} placeholder can be used to distinguish * no matching key. The {@code null} placeholder can be used to distinguish
* between these two cases.</p> * between these two cases.</p>
@ -101,7 +101,7 @@ public class ObjectUtils {
* {@code null} has another meaning. * {@code null} has another meaning.
* *
* <p>For example, in a {@link HashMap} the * <p>For example, in a {@link HashMap} the
* {@link java.util.HashMap#get(java.lang.Object)} method returns * {@link java.util.HashMap#get(Object)} method returns
* {@code null} if the {@link Map} contains {@code null} or if there * {@code null} if the {@link Map} contains {@code null} or if there
* is no matching key. The {@code null} placeholder can be used to * is no matching key. The {@code null} placeholder can be used to
* distinguish between these two cases.</p> * distinguish between these two cases.</p>

View File

@ -902,7 +902,7 @@ public class ToStringBuilder implements Builder<String> {
/** /**
* Appends with the same format as the default <code>Object toString() * Appends with the same format as the default <code>Object toString()
* </code> method. Appends the class name followed by * </code> method. Appends the class name followed by
* {@link System#identityHashCode(java.lang.Object)}. * {@link System#identityHashCode(Object)}.
* *
* @param srcObject the {@link Object} whose class name and id to output * @param srcObject the {@link Object} whose class name and id to output
* @return this * @return this

View File

@ -407,7 +407,7 @@
* The nested {@link org.apache.commons.lang3.concurrent.BasicThreadFactory.Builder} class defines some methods for * The nested {@link org.apache.commons.lang3.concurrent.BasicThreadFactory.Builder} class defines some methods for
* configuring the new {@link org.apache.commons.lang3.concurrent.BasicThreadFactory} instance. Objects of this class * configuring the new {@link org.apache.commons.lang3.concurrent.BasicThreadFactory} instance. Objects of this class
* are immutable, so these attributes cannot be changed later. The naming pattern is a string which can be passed to * are immutable, so these attributes cannot be changed later. The naming pattern is a string which can be passed to
* {@link java.lang.String#format(java.util.Locale, String, Object...)}. The placeholder <em>%d</em> is replaced by an * {@link String#format(java.util.Locale, String, Object...)}. The placeholder <em>%d</em> is replaced by an
* increasing counter value. An instance can wrap another {@link java.util.concurrent.ThreadFactory} implementation; * increasing counter value. An instance can wrap another {@link java.util.concurrent.ThreadFactory} implementation;
* this is achieved by calling the builder's * this is achieved by calling the builder's
* {@link org.apache.commons.lang3.concurrent.BasicThreadFactory.Builder#wrappedFactory(java.util.concurrent.ThreadFactory) * {@link org.apache.commons.lang3.concurrent.BasicThreadFactory.Builder#wrappedFactory(java.util.concurrent.ThreadFactory)

View File

@ -401,7 +401,7 @@ public class TypeUtils {
* parameter of {@link java.util.SortedSet}, which in turn sets the * parameter of {@link java.util.SortedSet}, which in turn sets the
* parameter of {@link Set}, which in turn sets the parameter of * parameter of {@link Set}, which in turn sets the parameter of
* {@link java.util.Collection}, which in turn sets the parameter of * {@link java.util.Collection}, which in turn sets the parameter of
* {@link java.lang.Iterable}. Since {@link TreeSet}'s parameter maps * {@link Iterable}. Since {@link TreeSet}'s parameter maps
* (indirectly) to {@link Iterable}'s parameter, it will be able to * (indirectly) to {@link Iterable}'s parameter, it will be able to
* determine that based on the super type {@code Iterable<? extends * determine that based on the super type {@code Iterable<? extends
* Map<Integer, ? extends Collection<?>>>}, the parameter of * Map<Integer, ? extends Collection<?>>>}, the parameter of