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/04 17:16:14 UTC
svn commit: r1479126 -
/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/ClosureUtils.java
Author: tn
Date: Sat May 4 15:16:07 2013
New Revision: 1479126
URL: http://svn.apache.org/r1479126
Log:
Removed ClosureUtils.chainedClosure(Closure, Closure) method as there is already one with vararg parameters.
Modified:
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/ClosureUtils.java
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/ClosureUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/ClosureUtils.java?rev=1479126&r1=1479125&r2=1479126&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/ClosureUtils.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/ClosureUtils.java Sat May 4 15:16:07 2013
@@ -186,22 +186,6 @@ public class ClosureUtils {
}
/**
- * Create a new Closure that calls two Closures, passing the result of
- * the first into the second.
- *
- * @see org.apache.commons.collections4.functors.ChainedClosure
- *
- * @param <E> the type that the closure acts on
- * @param closure1 the first closure
- * @param closure2 the second closure
- * @return the <code>chained</code> closure
- * @throws IllegalArgumentException if either closure is null
- */
- public static <E> Closure<E> chainedClosure(final Closure<? super E> closure1, final Closure<? super E> closure2) {
- return ChainedClosure.<E>chainedClosure(closure1, closure2);
- }
-
- /**
* Create a new Closure that calls each closure in turn, passing the
* result into the next closure.
*