From 090f04d180211a52e073811bd26067621956dd23 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Thu, 28 Feb 2013 11:42:31 +0000 Subject: [PATCH] Change since tags from 3.3 to 4.0. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1451177 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/commons/collections/CollectionUtils.java | 2 +- .../org/apache/commons/collections/bag/TransformedBag.java | 2 +- .../apache/commons/collections/bag/TransformedSortedBag.java | 2 +- .../apache/commons/collections/buffer/TransformedBuffer.java | 2 +- .../commons/collections/collection/TransformedCollection.java | 2 +- .../org/apache/commons/collections/list/TransformedList.java | 2 +- .../org/apache/commons/collections/map/MultiValueMap.java | 4 ++-- .../org/apache/commons/collections/set/TransformedSet.java | 2 +- .../apache/commons/collections/set/TransformedSortedSet.java | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/org/apache/commons/collections/CollectionUtils.java b/src/main/java/org/apache/commons/collections/CollectionUtils.java index 44a5d6f4b..3938f3e15 100644 --- a/src/main/java/org/apache/commons/collections/CollectionUtils.java +++ b/src/main/java/org/apache/commons/collections/CollectionUtils.java @@ -1382,7 +1382,7 @@ public class CollectionUtils { * @return a Collection containing all the elements of collection except * any elements that also occur in remove. * @throws NullPointerException if either parameter is null - * @since 3.3 (method existed in 3.2 but was completely broken) + * @since 4.0 (method existed in 3.2 but was completely broken) */ public static Collection removeAll(final Collection collection, final Collection remove) { return ListUtils.removeAll(collection, remove); diff --git a/src/main/java/org/apache/commons/collections/bag/TransformedBag.java b/src/main/java/org/apache/commons/collections/bag/TransformedBag.java index 05cf0dd39..8dac05866 100644 --- a/src/main/java/org/apache/commons/collections/bag/TransformedBag.java +++ b/src/main/java/org/apache/commons/collections/bag/TransformedBag.java @@ -70,7 +70,7 @@ public class TransformedBag extends TransformedCollection implements Bag Bag transformedBag(final Bag bag, final Transformer transformer) { final TransformedBag decorated = new TransformedBag(bag, transformer); diff --git a/src/main/java/org/apache/commons/collections/bag/TransformedSortedBag.java b/src/main/java/org/apache/commons/collections/bag/TransformedSortedBag.java index 5e200f004..88f21b20d 100644 --- a/src/main/java/org/apache/commons/collections/bag/TransformedSortedBag.java +++ b/src/main/java/org/apache/commons/collections/bag/TransformedSortedBag.java @@ -69,7 +69,7 @@ public class TransformedSortedBag extends TransformedBag implements Sorted * @param transformer the transformer to use for conversion, must not be null * @return a new transformed SortedBag * @throws IllegalArgumentException if bag or transformer is null - * @since 3.3 + * @since 4.0 */ public static TransformedSortedBag transformedSortedBag(final SortedBag bag, final Transformer transformer) { diff --git a/src/main/java/org/apache/commons/collections/buffer/TransformedBuffer.java b/src/main/java/org/apache/commons/collections/buffer/TransformedBuffer.java index f8668c647..d3fd6c475 100644 --- a/src/main/java/org/apache/commons/collections/buffer/TransformedBuffer.java +++ b/src/main/java/org/apache/commons/collections/buffer/TransformedBuffer.java @@ -69,7 +69,7 @@ public class TransformedBuffer extends TransformedCollection implements Bu * @param transformer the transformer to use for conversion, must not be null * @return a new transformed Buffer * @throws IllegalArgumentException if buffer or transformer is null - * @since 3.3 + * @since 4.0 */ public static TransformedBuffer transformedBuffer(final Buffer buffer, final Transformer transformer) { diff --git a/src/main/java/org/apache/commons/collections/collection/TransformedCollection.java b/src/main/java/org/apache/commons/collections/collection/TransformedCollection.java index 809596a7e..8b263822a 100644 --- a/src/main/java/org/apache/commons/collections/collection/TransformedCollection.java +++ b/src/main/java/org/apache/commons/collections/collection/TransformedCollection.java @@ -75,7 +75,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 3.3 + * @since 4.0 */ public static TransformedCollection transformedCollection(final Collection collection, final Transformer transformer) { diff --git a/src/main/java/org/apache/commons/collections/list/TransformedList.java b/src/main/java/org/apache/commons/collections/list/TransformedList.java index d3d20ba9f..2b3c752f1 100644 --- a/src/main/java/org/apache/commons/collections/list/TransformedList.java +++ b/src/main/java/org/apache/commons/collections/list/TransformedList.java @@ -73,7 +73,7 @@ public class TransformedList extends TransformedCollection implements List * @param transformer the transformer to use for conversion, must not be null * @return a new transformed List * @throws IllegalArgumentException if list or transformer is null - * @since 3.3 + * @since 4.0 */ public static TransformedList transformedList(final List list, final Transformer transformer) { diff --git a/src/main/java/org/apache/commons/collections/map/MultiValueMap.java b/src/main/java/org/apache/commons/collections/map/MultiValueMap.java index 7e3dbed1a..132fa3c37 100644 --- a/src/main/java/org/apache/commons/collections/map/MultiValueMap.java +++ b/src/main/java/org/apache/commons/collections/map/MultiValueMap.java @@ -150,7 +150,7 @@ public class MultiValueMap extends AbstractMapDecorator impleme * * @param out the output stream * @throws IOException - * @since 3.3 + * @since 4.0 */ private void writeObject(final ObjectOutputStream out) throws IOException { out.defaultWriteObject(); @@ -163,7 +163,7 @@ public class MultiValueMap extends AbstractMapDecorator impleme * @param in the input stream * @throws IOException * @throws ClassNotFoundException - * @since 3.3 + * @since 4.0 */ @SuppressWarnings("unchecked") // (1) should only fail if input stream is incorrect private void readObject(final ObjectInputStream in) throws IOException, ClassNotFoundException { diff --git a/src/main/java/org/apache/commons/collections/set/TransformedSet.java b/src/main/java/org/apache/commons/collections/set/TransformedSet.java index a9087a928..92099cc53 100644 --- a/src/main/java/org/apache/commons/collections/set/TransformedSet.java +++ b/src/main/java/org/apache/commons/collections/set/TransformedSet.java @@ -70,7 +70,7 @@ public class TransformedSet extends TransformedCollection implements Set Set transformedSet(final Set set, final Transformer transformer) { final TransformedSet decorated = new TransformedSet(set, transformer); diff --git a/src/main/java/org/apache/commons/collections/set/TransformedSortedSet.java b/src/main/java/org/apache/commons/collections/set/TransformedSortedSet.java index 145b273b3..62f2ed94b 100644 --- a/src/main/java/org/apache/commons/collections/set/TransformedSortedSet.java +++ b/src/main/java/org/apache/commons/collections/set/TransformedSortedSet.java @@ -70,7 +70,7 @@ public class TransformedSortedSet extends TransformedSet implements Sorted * @param transformer the transformer to use for conversion, must not be null * @return a new transformed {@link SortedSet} * @throws IllegalArgumentException if set or transformer is null - * @since 3.3 + * @since 4.0 */ public static TransformedSortedSet transformedSortedSet(final SortedSet set, final Transformer transformer) {