From 50bd9f108b59f69d73eb8ca4d4c8a917895743a8 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Sat, 27 Apr 2013 07:16:48 +0000 Subject: [PATCH] Added missing since tags git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476507 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/commons/collections4/CollectionUtils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/apache/commons/collections4/CollectionUtils.java b/src/main/java/org/apache/commons/collections4/CollectionUtils.java index dbd31b28b..122c898c1 100644 --- a/src/main/java/org/apache/commons/collections4/CollectionUtils.java +++ b/src/main/java/org/apache/commons/collections4/CollectionUtils.java @@ -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 forAllButLastDo(final Collection 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 forAllButLastDo(final Iterator iterator, final C closure) { if (iterator != null && closure != null) {