commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1479405 - in /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list: FixedSizeList.java GrowthList.java LazyList.java PredicatedList.java SetUniqueList.java TransformedList.java UnmodifiableList.java
Date Sun, 05 May 2013 21:58:53 GMT
Author: tn
Date: Sun May  5 21:58:52 2013
New Revision: 1479405

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

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/FixedSizeList.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/GrowthList.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/LazyList.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/PredicatedList.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/SetUniqueList.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/TransformedList.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/UnmodifiableList.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/FixedSizeList.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/FixedSizeList.java?rev=1479405&r1=1479404&r2=1479405&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/FixedSizeList.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/FixedSizeList.java
Sun May  5 21:58:52 2013
@@ -50,6 +50,7 @@ public class FixedSizeList<E>
      * @param list  the list to decorate, must not be null
      * @return a new fixed size list
      * @throws IllegalArgumentException if list is null
+     * @since 4.0
      */
     public static <E> FixedSizeList<E> fixedSizeList(final List<E> list)
{
         return new FixedSizeList<E>(list);

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/GrowthList.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/GrowthList.java?rev=1479405&r1=1479404&r2=1479405&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/GrowthList.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/GrowthList.java
Sun May  5 21:58:52 2013
@@ -64,6 +64,7 @@ public class GrowthList<E> extends Abstr
      * @param list  the list to decorate, must not be null
      * @return a new growth list
      * @throws IllegalArgumentException if list is null
+     * @since 4.0
      */
     public static <E> GrowthList<E> growthList(final List<E> list) {
         return new GrowthList<E>(list);

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/LazyList.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/LazyList.java?rev=1479405&r1=1479404&r2=1479405&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/LazyList.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/LazyList.java
Sun May  5 21:58:52 2013
@@ -73,6 +73,7 @@ public class LazyList<E> extends Abstrac
      * @param factory  the factory to use for creation, must not be null
      * @return a new lazy list
      * @throws IllegalArgumentException if list or factory is null
+     * @since 4.0
      */
     public static <E> LazyList<E> lazyList(final List<E> list, final Factory<?
extends E> factory) {
         return new LazyList<E>(list, factory);

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/PredicatedList.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/PredicatedList.java?rev=1479405&r1=1479404&r2=1479405&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/PredicatedList.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/PredicatedList.java
Sun May  5 21:58:52 2013
@@ -57,6 +57,7 @@ public class PredicatedList<E> extends P
      * @return a new predicated list
      * @throws IllegalArgumentException if list or predicate is null
      * @throws IllegalArgumentException if the list contains invalid elements
+     * @since 4.0
      */
     public static <T> PredicatedList<T> predicatedList(final List<T> list,
final Predicate<? super T> predicate) {
         return new PredicatedList<T>(list, predicate);

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/SetUniqueList.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/SetUniqueList.java?rev=1479405&r1=1479404&r2=1479405&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/SetUniqueList.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/SetUniqueList.java
Sun May  5 21:58:52 2013
@@ -62,13 +62,11 @@ public class SetUniqueList<E> extends Ab
      * If the list contains duplicates, these are removed (first indexed one
      * kept). A <code>HashSet</code> is used for the set behaviour.
      *
-     * @param <E>
-     *            the element type
-     * @param list
-     *            the list to decorate, must not be null
+     * @param <E>  the element type
+     * @param list  the list to decorate, must not be null
      * @return a new {@link SetUniqueList}
-     * @throws IllegalArgumentException
-     *             if list is null
+     * @throws IllegalArgumentException if list is null
+     * @since 4.0
      */
     public static <E> SetUniqueList<E> setUniqueList(final List<E> list)
{
         if (list == null) {
@@ -86,17 +84,13 @@ public class SetUniqueList<E> extends Ab
 
     // -----------------------------------------------------------------------
     /**
-     * Constructor that wraps (not copies) the List and specifies the set to
-     * use.
+     * Constructor that wraps (not copies) the List and specifies the set to use.
      * <p>
      * The set and list must both be correctly initialised to the same elements.
      *
-     * @param set
-     *            the set to decorate, must not be null
-     * @param list
-     *            the list to decorate, must not be null
-     * @throws IllegalArgumentException
-     *             if set or list is null
+     * @param set  the set to decorate, must not be null
+     * @param list  the list to decorate, must not be null
+     * @throws IllegalArgumentException if set or list is null
      */
     protected SetUniqueList(final List<E> list, final Set<E> set) {
         super(list);
@@ -124,8 +118,7 @@ public class SetUniqueList<E> extends Ab
      * method returns <code>true</code> always. However this class may return
      * <code>false</code> because of the <code>Set</code> behaviour.
      *
-     * @param object
-     *            the object to add
+     * @param object  the object to add
      * @return true if object was added
      */
     @Override
@@ -148,10 +141,8 @@ public class SetUniqueList<E> extends Ab
      * that the element is always inserted. This may not happen with this
      * implementation.
      *
-     * @param index
-     *            the index to insert at
-     * @param object
-     *            the object to add
+     * @param index  the index to insert at
+     * @param object  the object to add
      */
     @Override
     public void add(final int index, final E object) {
@@ -172,8 +163,7 @@ public class SetUniqueList<E> extends Ab
      * that the elements are always inserted. This may not happen with this
      * implementation.
      *
-     * @param coll
-     *            the collection to add in iterator order
+     * @param coll  the collection to add in iterator order
      * @return true if this collection changed
      */
     @Override
@@ -192,10 +182,8 @@ public class SetUniqueList<E> extends Ab
      * that the elements are always inserted. This may not happen with this
      * implementation.
      *
-     * @param index
-     *            the index to insert at
-     * @param coll
-     *            the collection to add in iterator order
+     * @param index  the index to insert at
+     * @param coll  the collection to add in iterator order
      * @return true if this collection changed
      */
     @Override
@@ -217,10 +205,8 @@ public class SetUniqueList<E> extends Ab
      * duplicate is removed. If the object is not already in the list then a
      * normal set occurs. If it is present, then the old version is removed.
      *
-     * @param index
-     *            the index to insert at
-     * @param object
-     *            the object to set
+     * @param index  the index to insert at
+     * @param object  the object to set
      * @return the previous object
      */
     @Override
@@ -336,12 +322,10 @@ public class SetUniqueList<E> extends Ab
      * Create a new {@link Set} with the same type as the provided {@code set}
      * and populate it with all elements of {@code list}.
      *
-     * @param set
-     *            the {@link Set} to be used as return type, must not be null
-     * @param list
-     *            the {@link List} to populate the {@link Set}
+     * @param set  the {@link Set} to be used as return type, must not be null
+     * @param list  the {@link List} to populate the {@link Set}
      * @return a new {@link Set} populated with all elements of the provided
-     *         {@link List}
+     *   {@link List}
      */
     @SuppressWarnings("unchecked")
     protected Set<E> createSetBasedOnList(final Set<E> set, final List<E>
list) {

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/TransformedList.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/TransformedList.java?rev=1479405&r1=1479404&r2=1479405&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/TransformedList.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/TransformedList.java
Sun May  5 21:58:52 2013
@@ -54,6 +54,7 @@ public class TransformedList<E> extends 
      * @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 4.0
      */
     public static <E> TransformedList<E> transformingList(final List<E>
list,
                                                           final Transformer<? super E,
? extends E> transformer) {

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/UnmodifiableList.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/UnmodifiableList.java?rev=1479405&r1=1479404&r2=1479405&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/UnmodifiableList.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/list/UnmodifiableList.java
Sun May  5 21:58:52 2013
@@ -49,6 +49,7 @@ public final class UnmodifiableList<E>
      * @param list  the list to decorate, must not be null
      * @return a new unmodifiable list
      * @throws IllegalArgumentException if list is null
+     * @since 4.0
      */
     public static <E> List<E> unmodifiableList(final List<E> list) {
         if (list instanceof Unmodifiable) {



Mime
View raw message