From beae5e10fd6da98efd6b9276ae6c9519e4757e56 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 17 Dec 2023 10:16:14 -0500 Subject: [PATCH] Better Javadoc --- src/main/java/org/apache/commons/collections4/SetUtils.java | 2 +- .../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)}. *

* 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; *

  • Null - always returns null *
  • NOP - returns the input object, which should be immutable *
  • Exception - always throws an exception - *
  • StringValue - returns a {@code java.lang.String} representation of the input object + *
  • StringValue - returns a {@link String} representation of the input object * *

    * 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'. *