This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push: new 9c966b496 Better Javadoc 9c966b496 is described below commit 9c966b496ec339972818b1d265964fa3927e5793 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Dec 17 14:17:35 2023 -0500 Better Javadoc --- src/main/java/org/apache/commons/lang3/ClassUtils.java | 2 +- src/main/java/org/apache/commons/lang3/SystemUtils.java | 2 +- src/main/java/org/apache/commons/lang3/ThreadUtils.java | 2 +- src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java | 4 ++-- .../org/apache/commons/lang3/builder/ReflectionToStringBuilder.java | 4 ++-- .../java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java | 2 +- .../java/org/apache/commons/lang3/builder/ToStringBuilderTest.java | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/ClassUtils.java b/src/main/java/org/apache/commons/lang3/ClassUtils.java index 6ef65d7f0..86a02730b 100644 --- a/src/main/java/org/apache/commons/lang3/ClassUtils.java +++ b/src/main/java/org/apache/commons/lang3/ClassUtils.java @@ -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> * diff --git a/src/main/java/org/apache/commons/lang3/SystemUtils.java b/src/main/java/org/apache/commons/lang3/SystemUtils.java index 13190bbbd..2c52cff7a 100644 --- a/src/main/java/org/apache/commons/lang3/SystemUtils.java +++ b/src/main/java/org/apache/commons/lang3/SystemUtils.java @@ -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 diff --git a/src/main/java/org/apache/commons/lang3/ThreadUtils.java b/src/main/java/org/apache/commons/lang3/ThreadUtils.java index b71457de8..8a127e9ec 100644 --- a/src/main/java/org/apache/commons/lang3/ThreadUtils.java +++ b/src/main/java/org/apache/commons/lang3/ThreadUtils.java @@ -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# 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 afe59a8bd..a881f232e 100644 --- a/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java +++ b/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java @@ -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> diff --git a/src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java b/src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java index 06770bc58..7950a208e 100644 --- a/src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java +++ b/src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java @@ -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> diff --git a/src/main/java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java b/src/main/java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java index d9ba392b6..ba3e4d96d 100644 --- a/src/main/java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java +++ b/src/main/java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java @@ -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> diff --git a/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java b/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java index 6a53a5814..d84351e99 100644 --- a/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java +++ b/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java @@ -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>