Better Javadoc

This commit is contained in:
Gary Gregory 2023-12-17 14:17:35 -05:00
parent 16a826adc6
commit 9c966b496e
7 changed files with 9 additions and 9 deletions

View File

@ -982,7 +982,7 @@ public class ClassUtils {
*
* <p>
* Note that this method differs from {@link #getSimpleName(Class)} in that this will return, for example
* {@code "Map.Entry"} whilst the {@code java.lang.Class} variant will simply return {@code "Entry"}. In this example
* {@code "Map.Entry"} whilst the {@link Class} variant will simply return {@code "Entry"}. In this example
* the argument {@code className} is the string {@code java.util.Map$Entry} (note the {@code $} sign.
* </p>
*

View File

@ -19,7 +19,7 @@ package org.apache.commons.lang3;
import java.io.File;
/**
* Helpers for {@code java.lang.System}.
* Helpers for {@link System}.
*
* <p>
* If a system property cannot be read due to security restrictions, the corresponding field in this class will be set

View File

@ -28,7 +28,7 @@ import java.util.stream.Stream;
import org.apache.commons.lang3.time.DurationUtils;
/**
* Helpers for {@code java.lang.Thread} and {@code java.lang.ThreadGroup}.
* Helpers for {@link Thread} and {@link ThreadGroup}.
*
* <p>
* #ThreadSafe#

View File

@ -544,8 +544,8 @@ public class HashCodeBuilder implements Builder<Integer> {
* </p>
* <p>
* This is in contrast to the standard {@code java.lang.Boolean.hashCode} handling, which computes
* a {@code hashCode} value of {@code 1231} for {@code java.lang.Boolean} instances
* that represent {@code true} or {@code 1237} for {@code java.lang.Boolean} instances
* a {@code hashCode} value of {@code 1231} for {@link Boolean} instances
* that represent {@code true} or {@code 1237} for {@link Boolean} instances
* that represent {@code false}.
* </p>
* <p>

View File

@ -296,7 +296,7 @@ public class ReflectionToStringBuilder extends ToStringBuilder {
*
* <p>
* Superclass fields will be appended up to and including the specified superclass. A null superclass is treated as
* {@code java.lang.Object}.
* {@link Object}.
* </p>
*
* <p>
@ -353,7 +353,7 @@ public class ReflectionToStringBuilder extends ToStringBuilder {
*
* <p>
* Superclass fields will be appended up to and including the specified superclass. A null superclass is treated as
* {@code java.lang.Object}.
* {@link Object}.
* </p>
*
* <p>

View File

@ -54,7 +54,7 @@ import java.util.concurrent.atomic.AtomicLong;
* threads. This can impact the exit behavior of the current Java application
* because the JVM shuts down if there are only daemon threads running.</li>
* <li>The priority of the thread. Here an integer value can be provided. The
* {@code java.lang.Thread} class defines constants for valid ranges of priority
* {@link Thread} class defines constants for valid ranges of priority
* values.</li>
* <li>The {@link UncaughtExceptionHandler} for the thread. This handler is
* called if an uncaught exception occurs within the thread.</li>

View File

@ -1265,7 +1265,7 @@ public class ToStringBuilderTest extends AbstractLangTest {
* <p>Transient fields are not output.</p>
*
* <p>Superclass fields will be appended up to and including the specified superclass.
* A null superclass is treated as {@code java.lang.Object}.</p>
* A null superclass is treated as {@link Object}.</p>
*
* <p>If the style is {@code null}, the default
* {@code ToStringStyle} is used.</p>