From afcbced8ef5cd36ed74180af1ec333f13a158291 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Sat, 4 May 2013 15:16:07 +0000 Subject: [PATCH] Removed ClosureUtils.chainedClosure(Closure, Closure) method as there is already one with vararg parameters. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479126 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/collections4/ClosureUtils.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/ClosureUtils.java b/src/main/java/org/apache/commons/collections4/ClosureUtils.java index 76699a583..47681a40c 100644 --- a/src/main/java/org/apache/commons/collections4/ClosureUtils.java +++ b/src/main/java/org/apache/commons/collections4/ClosureUtils.java @@ -185,22 +185,6 @@ public class ClosureUtils { return asClosure(InvokerTransformer.invokerTransformer(methodName, paramTypes, args)); } - /** - * 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 the type that the closure acts on - * @param closure1 the first closure - * @param closure2 the second closure - * @return the chained closure - * @throws IllegalArgumentException if either closure is null - */ - public static Closure chainedClosure(final Closure closure1, final Closure closure2) { - return ChainedClosure.chainedClosure(closure1, closure2); - } - /** * Create a new Closure that calls each closure in turn, passing the * result into the next closure.