From c23e693049fb65e9c247c0094f85d8fce0e69886 Mon Sep 17 00:00:00 2001 From: Stephen Colebourne Date: Sat, 25 Jan 2003 13:01:38 +0000 Subject: [PATCH] Remove unused code from Gary Gregory, bug fix 16284 git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137235 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/lang/reflect/MethodUtils.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/java/org/apache/commons/lang/reflect/MethodUtils.java b/src/java/org/apache/commons/lang/reflect/MethodUtils.java index 20a82138b..44ec7429b 100644 --- a/src/java/org/apache/commons/lang/reflect/MethodUtils.java +++ b/src/java/org/apache/commons/lang/reflect/MethodUtils.java @@ -75,7 +75,8 @@ import org.apache.commons.lang.ArrayUtils; * @author Gregor Raýman * @author Jan Sorensen * @author Robert Burrell Donkin - * @version $Id: MethodUtils.java,v 1.10 2002/12/25 22:03:00 scolebourne Exp $ + * @author Gary Gregory + * @version $Id: MethodUtils.java,v 1.11 2003/01/25 13:01:38 scolebourne Exp $ */ public class MethodUtils { @@ -428,8 +429,6 @@ public class MethodUtils { } // Check the implemented interfaces and subinterfaces - String methodName = method.getName(); - Class[] parameterTypes = method.getParameterTypes(); method = getAccessibleMethodFromInterfaceNest(clazz, method.getName(), @@ -516,7 +515,6 @@ public class MethodUtils { } // search through all methods - int paramSize = parameterTypes.length; Method[] methods = clazz.getMethods(); ArrayList compatibles = new ArrayList(methods.length); for (int i = 0, size = methods.length; i < size ; i++) {