From 955f7ab1eba0823adcd37fd9b574ce68d2586fa7 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Mon, 29 Aug 2022 07:35:40 -0400 Subject: [PATCH] Javadoc @link tags do not need to use a FQCN for classes in java.lang --- src/main/java/org/apache/commons/collections4/Equator.java | 2 +- src/main/java/org/apache/commons/collections4/ListUtils.java | 2 +- .../commons/collections4/iterators/CollatingIterator.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/Equator.java b/src/main/java/org/apache/commons/collections4/Equator.java index 63cce0f30..db5cdf868 100644 --- a/src/main/java/org/apache/commons/collections4/Equator.java +++ b/src/main/java/org/apache/commons/collections4/Equator.java @@ -20,7 +20,7 @@ package org.apache.commons.collections4; * An equation function, which determines equality between objects of type T. *

* It is the functional sibling of {@link java.util.Comparator}; {@link Equator} is to - * {@link Object} as {@link java.util.Comparator} is to {@link java.lang.Comparable}. + * {@link Object} as {@link java.util.Comparator} is to {@link Comparable}. *

* * @param the types of object this {@link Equator} can evaluate. diff --git a/src/main/java/org/apache/commons/collections4/ListUtils.java b/src/main/java/org/apache/commons/collections4/ListUtils.java index 8e95711fb..9c08f6068 100644 --- a/src/main/java/org/apache/commons/collections4/ListUtils.java +++ b/src/main/java/org/apache/commons/collections4/ListUtils.java @@ -284,7 +284,7 @@ public class ListUtils { /** * Tests two lists for value-equality as per the equality contract in - * {@link java.util.List#equals(java.lang.Object)}. + * {@link java.util.List#equals(Object)}. *

* This method is useful for implementing {@code List} when you cannot * extend AbstractList. The method takes Collection instances to enable other diff --git a/src/main/java/org/apache/commons/collections4/iterators/CollatingIterator.java b/src/main/java/org/apache/commons/collections4/iterators/CollatingIterator.java index 161bfba17..5dda40980 100644 --- a/src/main/java/org/apache/commons/collections4/iterators/CollatingIterator.java +++ b/src/main/java/org/apache/commons/collections4/iterators/CollatingIterator.java @@ -202,7 +202,7 @@ public class CollatingIterator implements Iterator { * Sets the {@link Comparator} by which collation occurs. If you * would like to use the natural sort order (or, in other words, * if the elements in the iterators are implementing the - * {@link java.lang.Comparable} interface), then use the + * {@link Comparable} interface), then use the * {@link org.apache.commons.collections4.comparators.ComparableComparator}. * * @param comp the {@link Comparator} to set