commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1476507 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/CollectionUtils.java
Date Sat, 27 Apr 2013 07:16:48 GMT
Author: tn
Date: Sat Apr 27 07:16:48 2013
New Revision: 1476507

URL: http://svn.apache.org/r1476507
Log:
Added missing since tags

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/CollectionUtils.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/CollectionUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/CollectionUtils.java?rev=1476507&r1=1476506&r2=1476507&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/CollectionUtils.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/CollectionUtils.java
Sat Apr 27 07:16:48 2013
@@ -704,6 +704,7 @@ public class CollectionUtils {
      * @param collection  the collection to get the input from, may be null
      * @param closure  the closure to perform, may be null
      * @return the last element in the collection, or null if either collection or closure
is null
+     * @since 4.0
      */
     public static <T, C extends Closure<? super T>> T forAllButLastDo(final Collection<T>
collection,
                                                                       final C closure) {
@@ -720,6 +721,7 @@ public class CollectionUtils {
      * @param iterator  the iterator to get the input from, may be null
      * @param closure  the closure to perform, may be null
      * @return the last element in the collection, or null if either iterator or closure
is null
+     * @since 4.0
      */
     public static <T, C extends Closure<? super T>> T forAllButLastDo(final Iterator<T>
iterator, final C closure) {
         if (iterator != null && closure != null) {



Mime
View raw message