You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2013/05/06 00:02:01 UTC

svn commit: r1479406 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/

Author: tn
Date: Sun May  5 22:02:01 2013
New Revision: 1479406

URL: http://svn.apache.org/r1479406
Log:
Add missing since tags.

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/ListOrderedSet.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/MapBackedSet.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/PredicatedSet.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/PredicatedSortedSet.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/TransformedSet.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/TransformedSortedSet.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/UnmodifiableSet.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/UnmodifiableSortedSet.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/ListOrderedSet.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/ListOrderedSet.java?rev=1479406&r1=1479405&r2=1479406&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/ListOrderedSet.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/ListOrderedSet.java Sun May  5 22:02:01 2013
@@ -72,7 +72,7 @@ public class ListOrderedSet<E>
      * @return a new ordered set
      * @throws IllegalArgumentException if set or list is null
      * @throws IllegalArgumentException if either the set or list is not empty
-     * @since 3.1
+     * @since 4.0
      */
     public static <E> ListOrderedSet<E> listOrderedSet(final Set<E> set, final List<E> list) {
         if (set == null) {
@@ -96,6 +96,7 @@ public class ListOrderedSet<E>
      * @param set the set to decorate, must not be null
      * @return a new ordered set
      * @throws IllegalArgumentException if set is null
+     * @since 4.0
      */
     public static <E> ListOrderedSet<E> listOrderedSet(final Set<E> set) {
         return new ListOrderedSet<E>(set);
@@ -114,6 +115,7 @@ public class ListOrderedSet<E>
      * @param list the list to decorate, must not be null
      * @return a new ordered set
      * @throws IllegalArgumentException if list is null
+     * @since 4.0
      */
     public static <E> ListOrderedSet<E> listOrderedSet(final List<E> list) {
         if (list == null) {

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/MapBackedSet.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/MapBackedSet.java?rev=1479406&r1=1479405&r2=1479406&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/MapBackedSet.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/MapBackedSet.java Sun May  5 22:02:01 2013
@@ -54,6 +54,7 @@ public final class MapBackedSet<E, V> im
      * @param map  the map to decorate, must not be null
      * @return a new map backed set
      * @throws IllegalArgumentException if set is null
+     * @since 4.0
      */
     public static <E, V> MapBackedSet<E, V> mapBackedSet(final Map<E, ? super V> map) {
         return mapBackedSet(map, null);
@@ -68,6 +69,7 @@ public final class MapBackedSet<E, V> im
      * @param dummyValue  the dummy value to use
      * @return a new map backed set
      * @throws IllegalArgumentException if map is null
+     * @since 4.0
      */
     public static <E, V> MapBackedSet<E, V> mapBackedSet(final Map<E, ? super V> map, final V dummyValue) {
         if (map == null) {

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/PredicatedSet.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/PredicatedSet.java?rev=1479406&r1=1479405&r2=1479406&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/PredicatedSet.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/PredicatedSet.java Sun May  5 22:02:01 2013
@@ -54,6 +54,7 @@ public class PredicatedSet<E> extends Pr
      * @return a decorated set
      * @throws IllegalArgumentException if set or predicate is null
      * @throws IllegalArgumentException if the set contains invalid elements
+     * @since 4.0
      */
     public static <E> PredicatedSet<E> predicatedSet(final Set<E> set, final Predicate<? super E> predicate) {
         return new PredicatedSet<E>(set, predicate);

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/PredicatedSortedSet.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/PredicatedSortedSet.java?rev=1479406&r1=1479405&r2=1479406&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/PredicatedSortedSet.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/PredicatedSortedSet.java Sun May  5 22:02:01 2013
@@ -54,6 +54,7 @@ public class PredicatedSortedSet<E> exte
      * @return a new predicated sorted set.
      * @throws IllegalArgumentException if set or predicate is null
      * @throws IllegalArgumentException if the set contains invalid elements
+     * @since 4.0
      */
     public static <E> PredicatedSortedSet<E> predicatedSortedSet(final SortedSet<E> set,
                                                                  final Predicate<? super E> predicate) {

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/TransformedSet.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/TransformedSet.java?rev=1479406&r1=1479405&r2=1479406&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/TransformedSet.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/TransformedSet.java Sun May  5 22:02:01 2013
@@ -51,6 +51,7 @@ public class TransformedSet<E> extends T
      * @param transformer  the transformer to use for conversion, must not be null
      * @return a new transformed set
      * @throws IllegalArgumentException if set or transformer is null
+     * @since 4.0
      */
     public static <E> TransformedSet<E> transformingSet(final Set<E> set,
             final Transformer<? super E, ? extends E> transformer) {

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/TransformedSortedSet.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/TransformedSortedSet.java?rev=1479406&r1=1479405&r2=1479406&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/TransformedSortedSet.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/TransformedSortedSet.java Sun May  5 22:02:01 2013
@@ -51,6 +51,7 @@ public class TransformedSortedSet<E> ext
      * @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 4.0
      */
     public static <E> TransformedSortedSet<E> transformingSortedSet(final SortedSet<E> set,
             final Transformer<? super E, ? extends E> transformer) {

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/UnmodifiableSet.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/UnmodifiableSet.java?rev=1479406&r1=1479405&r2=1479406&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/UnmodifiableSet.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/UnmodifiableSet.java Sun May  5 22:02:01 2013
@@ -47,6 +47,7 @@ public final class UnmodifiableSet<E>
      * @param set  the set to decorate, must not be null
      * @return a new unmodifiable set
      * @throws IllegalArgumentException if set is null
+     * @since 4.0
      */
     public static <E> Set<E> unmodifiableSet(final Set<E> set) {
         if (set instanceof Unmodifiable) {

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/UnmodifiableSortedSet.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/UnmodifiableSortedSet.java?rev=1479406&r1=1479405&r2=1479406&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/UnmodifiableSortedSet.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/UnmodifiableSortedSet.java Sun May  5 22:02:01 2013
@@ -51,6 +51,7 @@ public final class UnmodifiableSortedSet
      * @param set  the set to decorate, must not be null
      * @return a new unmodifiable {@link SortedSet}
      * @throws IllegalArgumentException if set is null
+     * @since 4.0
      */
     public static <E> SortedSet<E> unmodifiableSortedSet(final SortedSet<E> set) {
         if (set instanceof Unmodifiable) {