diff --git a/src/main/java/org/apache/commons/collections4/collection/PredicatedCollection.java b/src/main/java/org/apache/commons/collections4/collection/PredicatedCollection.java index 87238c08d..71d80e8b3 100644 --- a/src/main/java/org/apache/commons/collections4/collection/PredicatedCollection.java +++ b/src/main/java/org/apache/commons/collections4/collection/PredicatedCollection.java @@ -57,6 +57,7 @@ public class PredicatedCollection extends AbstractCollectionDecorator { * @return a new predicated collection * @throws IllegalArgumentException if collection or predicate is null * @throws IllegalArgumentException if the collection contains invalid elements + * @since 4.0 */ public static PredicatedCollection predicatedCollection(final Collection coll, final Predicate predicate) { diff --git a/src/main/java/org/apache/commons/collections4/collection/SynchronizedCollection.java b/src/main/java/org/apache/commons/collections4/collection/SynchronizedCollection.java index 335515cc4..d7911842b 100644 --- a/src/main/java/org/apache/commons/collections4/collection/SynchronizedCollection.java +++ b/src/main/java/org/apache/commons/collections4/collection/SynchronizedCollection.java @@ -55,6 +55,7 @@ public class SynchronizedCollection implements Collection, Serializable { * @param coll the collection to decorate, must not be null * @return a new synchronized collection * @throws IllegalArgumentException if collection is null + * @since 4.0 */ public static SynchronizedCollection synchronizedCollection(final Collection coll) { return new SynchronizedCollection(coll); diff --git a/src/main/java/org/apache/commons/collections4/collection/TransformedCollection.java b/src/main/java/org/apache/commons/collections4/collection/TransformedCollection.java index a6b9c0c32..f4940473e 100644 --- a/src/main/java/org/apache/commons/collections4/collection/TransformedCollection.java +++ b/src/main/java/org/apache/commons/collections4/collection/TransformedCollection.java @@ -56,6 +56,7 @@ public class TransformedCollection extends AbstractCollectionDecorator { * @param transformer the transformer to use for conversion, must not be null * @return a new transformed collection * @throws IllegalArgumentException if collection or transformer is null + * @since 4.0 */ public static TransformedCollection transformingCollection(final Collection coll, final Transformer transformer) { diff --git a/src/main/java/org/apache/commons/collections4/collection/UnmodifiableBoundedCollection.java b/src/main/java/org/apache/commons/collections4/collection/UnmodifiableBoundedCollection.java index a3bca74a3..fcdc0462f 100644 --- a/src/main/java/org/apache/commons/collections4/collection/UnmodifiableBoundedCollection.java +++ b/src/main/java/org/apache/commons/collections4/collection/UnmodifiableBoundedCollection.java @@ -52,6 +52,7 @@ public final class UnmodifiableBoundedCollection extends AbstractCollectionDe * @param coll the BoundedCollection to decorate, must not be null * @return a new unmodifiable bounded collection * @throws IllegalArgumentException if {@code coll} is {@code null} + * @since 4.0 */ public static BoundedCollection unmodifiableBoundedCollection(final BoundedCollection coll) { return new UnmodifiableBoundedCollection(coll); @@ -67,6 +68,7 @@ public final class UnmodifiableBoundedCollection extends AbstractCollectionDe * @param coll the BoundedCollection to decorate, must not be null * @return a new unmodifiable bounded collection * @throws IllegalArgumentException if {@code coll} is {@code null} + * @since 4.0 */ @SuppressWarnings("unchecked") public static BoundedCollection unmodifiableBoundedCollection(Collection coll) { diff --git a/src/main/java/org/apache/commons/collections4/collection/UnmodifiableCollection.java b/src/main/java/org/apache/commons/collections4/collection/UnmodifiableCollection.java index 0b9fc1ed1..d166cd918 100644 --- a/src/main/java/org/apache/commons/collections4/collection/UnmodifiableCollection.java +++ b/src/main/java/org/apache/commons/collections4/collection/UnmodifiableCollection.java @@ -49,6 +49,7 @@ public final class UnmodifiableCollection * @param coll the collection to decorate, must not be null * @return an unmodifiable collection * @throws IllegalArgumentException if collection is null + * @since 4.0 */ public static Collection unmodifiableCollection(final Collection coll) { if (coll instanceof Unmodifiable) {