You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/12/17 15:16:18 UTC

(commons-collections) branch master updated: Better Javadoc

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-collections.git


The following commit(s) were added to refs/heads/master by this push:
     new beae5e10f Better Javadoc
beae5e10f is described below

commit beae5e10fd6da98efd6b9276ae6c9519e4757e56
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Dec 17 10:16:14 2023 -0500

    Better Javadoc
---
 src/main/java/org/apache/commons/collections4/SetUtils.java         | 2 +-
 src/main/java/org/apache/commons/collections4/TransformerUtils.java | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/collections4/SetUtils.java b/src/main/java/org/apache/commons/collections4/SetUtils.java
index a9269952a..c1317f088 100644
--- a/src/main/java/org/apache/commons/collections4/SetUtils.java
+++ b/src/main/java/org/apache/commons/collections4/SetUtils.java
@@ -293,7 +293,7 @@ public class SetUtils {
 
     /**
      * Tests two sets for equality as per the {@code equals()} contract
-     * in {@link java.util.Set#equals(java.lang.Object)}.
+     * in {@link java.util.Set#equals(Object)}.
      * <p>
      * This method is useful for implementing {@code Set} when you cannot
      * extend AbstractSet. The method takes Collection instances to enable other
diff --git a/src/main/java/org/apache/commons/collections4/TransformerUtils.java b/src/main/java/org/apache/commons/collections4/TransformerUtils.java
index 1a38fb3ba..8f019afb9 100644
--- a/src/main/java/org/apache/commons/collections4/TransformerUtils.java
+++ b/src/main/java/org/apache/commons/collections4/TransformerUtils.java
@@ -55,7 +55,7 @@ import org.apache.commons.collections4.functors.SwitchTransformer;
  * <li>Null - always returns null
  * <li>NOP - returns the input object, which should be immutable
  * <li>Exception - always throws an exception
- * <li>StringValue - returns a {@code java.lang.String} representation of the input object
+ * <li>StringValue - returns a {@link String} representation of the input object
  * </ul>
  * <p>
  * Since v4.1 only transformers which are considered to be safe are
@@ -470,7 +470,7 @@ public class TransformerUtils {
     }
 
     /**
-     * Gets a transformer that returns a {@code java.lang.String}
+     * Gets a transformer that returns a {@link String}
      * representation of the input object. This is achieved via the
      * {@code toString} method, {@code null} returns 'null'.
      *