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 4c2224dd1 Javadoc: Remove redundant "java.lang" prefix
4c2224dd1 is described below

commit 4c2224dd1b750efc8e890d7f6e4c8a237d570309
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Dec 9 09:58:45 2023 -0500

    Javadoc: Remove redundant "java.lang" prefix
---
 src/main/java/org/apache/commons/lang3/StringUtils.java              | 2 +-
 src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java | 2 +-
 src/main/java/org/apache/commons/lang3/builder/package-info.java     | 2 +-
 src/main/java/org/apache/commons/lang3/compare/package-info.java     | 2 +-
 src/main/java/org/apache/commons/lang3/function/package-info.java    | 2 +-
 src/main/java/org/apache/commons/lang3/math/package-info.java        | 2 +-
 src/main/java/org/apache/commons/lang3/package-info.java             | 4 ++--
 src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java        | 2 +-
 src/main/java/org/apache/commons/lang3/text/package-info.java        | 2 +-
 9 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java 
b/src/main/java/org/apache/commons/lang3/StringUtils.java
index 6bd6bfa35..19f13c597 100644
--- a/src/main/java/org/apache/commons/lang3/StringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/StringUtils.java
@@ -36,7 +36,7 @@ import org.apache.commons.lang3.stream.LangCollectors;
 import org.apache.commons.lang3.stream.Streams;
 
 /**
- * Operations on {@link java.lang.String} that are
+ * Operations on {@link String} that are
  * {@code null} safe.
  *
  * <ul>
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 3d411bb15..2c241c5e1 100644
--- a/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java
+++ b/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java
@@ -27,7 +27,7 @@ import org.apache.commons.lang3.ArrayUtils;
 import org.apache.commons.lang3.ObjectUtils;
 
 /**
- * Assists in implementing {@link java.lang.Comparable#compareTo(Object)} 
methods.
+ * Assists in implementing {@link Comparable#compareTo(Object)} methods.
  *
  * <p>It is consistent with {@code equals(Object)} and
  * {@code hashCode()} built with {@link EqualsBuilder} and
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 b8163b59b..910d72266 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
@@ -18,7 +18,7 @@
  * Assists in creating consistent {@code equals(Object)}, {@code toString()}, 
{@code hashCode()}, and {@code compareTo(Object)} methods.
  * These classes are not thread-safe.
  *
- * <p>When you write a {@link java.lang.Object#hashCode() hashCode()}, do you 
check Bloch's Effective Java? No?
+ * <p>When you write a {@link Object#hashCode() hashCode()}, do you check 
Bloch's Effective Java? No?
  * You just hack in a quick number?
  * 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 hash code.</p>
diff --git a/src/main/java/org/apache/commons/lang3/compare/package-info.java 
b/src/main/java/org/apache/commons/lang3/compare/package-info.java
index 99136ede8..9eabaa348 100644
--- a/src/main/java/org/apache/commons/lang3/compare/package-info.java
+++ b/src/main/java/org/apache/commons/lang3/compare/package-info.java
@@ -16,7 +16,7 @@
  */
 
 /**
- * Provides classes to work with the {@link java.lang.Comparable} and {@link 
java.util.Comparator} interfaces.
+ * Provides classes to work with the {@link Comparable} and {@link 
java.util.Comparator} interfaces.
  *
  * @since 3.10
  */
diff --git a/src/main/java/org/apache/commons/lang3/function/package-info.java 
b/src/main/java/org/apache/commons/lang3/function/package-info.java
index 330e7c78d..e9b9c9dea 100644
--- a/src/main/java/org/apache/commons/lang3/function/package-info.java
+++ b/src/main/java/org/apache/commons/lang3/function/package-info.java
@@ -20,7 +20,7 @@
  *
  * <p>
  * Contains failable functional interfaces that address the fact that lambdas 
are supposed not to throw Exceptions, at
- * least not checked Exceptions, A.K.A. instances of {@link 
java.lang.Exception}. A failable functional interface
+ * least not checked Exceptions, A.K.A. instances of {@link Exception}. A 
failable functional interface
  * declares a type of Exception that may be raised if the function fails.
  * </p>
  *
diff --git a/src/main/java/org/apache/commons/lang3/math/package-info.java 
b/src/main/java/org/apache/commons/lang3/math/package-info.java
index b83e078ab..c63e4d4e7 100644
--- a/src/main/java/org/apache/commons/lang3/math/package-info.java
+++ b/src/main/java/org/apache/commons/lang3/math/package-info.java
@@ -24,7 +24,7 @@
  * These include classes to a {@link org.apache.commons.lang3.math.Fraction} 
class, various utilities for random numbers, and the flagship class, {@link 
org.apache.commons.lang3.math.NumberUtils} which contains a handful of classic 
number functions.</p>
  *
  * <p>There are two aspects of this package that should be highlighted.
- * The first is {@link 
org.apache.commons.lang3.math.NumberUtils#createNumber(String)}, a method which 
does its best to convert a String into a {@link java.lang.Number} object.
+ * The first is {@link 
org.apache.commons.lang3.math.NumberUtils#createNumber(String)}, a method which 
does its best to convert a String into a {@link Number} object.
  * You have no idea what type of Number it will return, so you should call the 
relevant {@code xxxValue} method when you reach the point of needing a number.
  * NumberUtils also has a related {@link 
org.apache.commons.lang3.math.NumberUtils#isCreatable(String)} method.</p>
  *
diff --git a/src/main/java/org/apache/commons/lang3/package-info.java 
b/src/main/java/org/apache/commons/lang3/package-info.java
index aca4f141c..7d880e1b5 100644
--- a/src/main/java/org/apache/commons/lang3/package-info.java
+++ b/src/main/java/org/apache/commons/lang3/package-info.java
@@ -38,7 +38,7 @@
  * <h2>String manipulation - StringUtils, StringEscapeUtils, 
RandomStringUtils</h2>
  *
  * <p>Lang has a series of String utilities.
- * The first is {@link org.apache.commons.lang3.StringUtils}, oodles and 
oodles of functions which tweak, transform, squeeze and cuddle {@link 
java.lang.String java.lang.Strings}.
+ * The first is {@link org.apache.commons.lang3.StringUtils}, oodles and 
oodles of functions which tweak, transform, squeeze and cuddle {@link String 
java.lang.Strings}.
  * In addition to StringUtils, there are a series of other String manipulating 
classes; {@link org.apache.commons.lang3.RandomStringUtils} and {@link 
org.apache.commons.lang3.StringEscapeUtils StringEscapeUtils}.
  * RandomStringUtils speaks for itself.
  * It's provides ways in which to generate pieces of text, such as might be 
used for default passwords.
@@ -72,7 +72,7 @@
  *
  * <h3>Assorted functions - ObjectUtils, ClassUtils, ArrayUtils, 
BooleanUtils</h3>
  *
- * <p>Would you believe it, {@link org.apache.commons.lang3.ObjectUtils} 
contains handy functions for Objects, mainly null-safe implementations of the 
methods on {@link java.lang.Object}.</p>
+ * <p>Would you believe it, {@link org.apache.commons.lang3.ObjectUtils} 
contains handy functions for Objects, mainly null-safe implementations of the 
methods on {@link Object}.</p>
  *
  * <p>{@link org.apache.commons.lang3.ClassUtils} is largely a set of helper 
methods for reflection.
  * Of special note are the comparators hidden away in ClassUtils, useful for 
sorting Class and Package objects by name; however they merely sort 
alphabetically and don't understand the common habit of sorting {@code java} 
and {@code javax} first.</p>
diff --git a/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java 
b/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java
index f959d7a99..264c7dea5 100644
--- a/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java
+++ b/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java
@@ -946,7 +946,7 @@ public class TypeUtils {
      * {@link java.util.Hashtable Hashtable} are also both {@link Object}.
      * In cases where the interface specified by {@code toClass} is
      * (indirectly) implemented more than once (e.g. where {@code toClass}
-     * specifies the interface {@link java.lang.Iterable Iterable} and
+     * specifies the interface {@link Iterable Iterable} and
      * {@code type} specifies a parameterized type that implements both
      * {@link java.util.Set Set} and {@link java.util.Collection Collection}),
      * this method will look at the inheritance hierarchy of only one of the
diff --git a/src/main/java/org/apache/commons/lang3/text/package-info.java 
b/src/main/java/org/apache/commons/lang3/text/package-info.java
index f82474314..f0dbe25e7 100644
--- a/src/main/java/org/apache/commons/lang3/text/package-info.java
+++ b/src/main/java/org/apache/commons/lang3/text/package-info.java
@@ -20,7 +20,7 @@
  * intended to be instantiated (i.e. they are not utility classes with lots of 
static methods).
  *
  * <p>
- * Amongst other classes, the text package provides a replacement for {@link 
java.lang.StringBuffer} named {@link org.apache.commons.lang3.text.StrBuilder}, 
a
+ * Amongst other classes, the text package provides a replacement for {@link 
StringBuffer} named {@link org.apache.commons.lang3.text.StrBuilder}, a
  * class for substituting variables within a String named {@link 
org.apache.commons.lang3.text.StrSubstitutor} and a replacement for
  * {@link java.util.StringTokenizer} named {@link 
org.apache.commons.lang3.text.StrTokenizer}. While somewhat ungainly, the 
{@code Str} prefix has been used to
  * ensure we don't clash with any current or future standard Java classes.

Reply via email to