diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 78e6427ea..f848e382a 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -21,7 +21,7 @@ - + Removed wrong type bounds for "ComparatorUtils#chainedComparator(...)". diff --git a/src/main/java/org/apache/commons/collections4/IteratorUtils.java b/src/main/java/org/apache/commons/collections4/IteratorUtils.java index b9095191d..86bce35da 100644 --- a/src/main/java/org/apache/commons/collections4/IteratorUtils.java +++ b/src/main/java/org/apache/commons/collections4/IteratorUtils.java @@ -444,7 +444,7 @@ public class IteratorUtils { * @param max the maximum number of elements returned by this iterator * @return a new bounded iterator * @throws IllegalArgumentException if the iterator is null or either offset or max is negative - * @since 4.0.1 + * @since 4.1 */ public static BoundedIterator boundedIterator(final Iterator iterator, long max) { return BoundedIterator.boundedIterator(iterator, max); @@ -464,7 +464,7 @@ public class IteratorUtils { * @param max the maximum number of elements returned by this iterator * @return a new bounded iterator * @throws IllegalArgumentException if the iterator is null or either offset or max is negative - * @since 4.0.1 + * @since 4.1 */ public static BoundedIterator boundedIterator(final Iterator iterator, long offset, long max) { diff --git a/src/main/java/org/apache/commons/collections4/TransformerUtils.java b/src/main/java/org/apache/commons/collections4/TransformerUtils.java index 19fde9d16..6be9cb486 100644 --- a/src/main/java/org/apache/commons/collections4/TransformerUtils.java +++ b/src/main/java/org/apache/commons/collections4/TransformerUtils.java @@ -222,7 +222,7 @@ public class TransformerUtils { * @return the transformer * @throws IllegalArgumentException if either the predicate or transformer is null * @see org.apache.commons.collections4.functors.IfTransformer - * @since 4.0.1 + * @since 4.1 */ public static Transformer ifTransformer(final Predicate predicate, final Transformer trueTransformer) { @@ -241,7 +241,7 @@ public class TransformerUtils { * @return the transformer * @throws IllegalArgumentException if either the predicate or transformer is null * @see org.apache.commons.collections4.functors.IfTransformer - * @since 4.0.1 + * @since 4.1 */ public static Transformer ifTransformer(final Predicate predicate, final Transformer trueTransformer, @@ -261,7 +261,7 @@ public class TransformerUtils { * @return the transformer * @throws IllegalArgumentException if either the predicate or transformer is null * @see org.apache.commons.collections4.functors.SwitchTransformer - * @deprecated as of 4.0.1, use {@link #ifTransformer(Predicate, Transformer, Transformer)) + * @deprecated as of 4.1, use {@link #ifTransformer(Predicate, Transformer, Transformer)) */ @SuppressWarnings("unchecked") @Deprecated diff --git a/src/main/java/org/apache/commons/collections4/functors/IfTransformer.java b/src/main/java/org/apache/commons/collections4/functors/IfTransformer.java index f7772ea1a..510afa31b 100644 --- a/src/main/java/org/apache/commons/collections4/functors/IfTransformer.java +++ b/src/main/java/org/apache/commons/collections4/functors/IfTransformer.java @@ -28,7 +28,7 @@ import java.io.Serializable; * @param The input type for the transformer * @param The output type for the transformer * - * @since 4.0.1 + * @since 4.1 * @version $Id$ */ public class IfTransformer implements Transformer, Serializable { diff --git a/src/main/java/org/apache/commons/collections4/iterators/BoundedIterator.java b/src/main/java/org/apache/commons/collections4/iterators/BoundedIterator.java index 49cbe9f77..a7d3c2a3c 100644 --- a/src/main/java/org/apache/commons/collections4/iterators/BoundedIterator.java +++ b/src/main/java/org/apache/commons/collections4/iterators/BoundedIterator.java @@ -28,7 +28,7 @@ import java.util.NoSuchElementException; * iterator is immediately advanced to this position, skipping all elements * before that position. * - * @since 4.0.1 + * @since 4.1 * @version $Id$ */ public class BoundedIterator implements Iterator {