You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2003/01/25 14:01:39 UTC
cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/reflect MethodUtils.java
scolebourne 2003/01/25 05:01:38
Modified: lang/src/java/org/apache/commons/lang/reflect
MethodUtils.java
Log:
Remove unused code
from Gary Gregory, bug fix 16284
Revision Changes Path
1.11 +2 -4 jakarta-commons/lang/src/java/org/apache/commons/lang/reflect/MethodUtils.java
Index: MethodUtils.java
===================================================================
RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/reflect/MethodUtils.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- MethodUtils.java 25 Dec 2002 22:03:00 -0000 1.10
+++ MethodUtils.java 25 Jan 2003 13:01:38 -0000 1.11
@@ -75,6 +75,7 @@
* @author Gregor Ra�man
* @author Jan Sorensen
* @author Robert Burrell Donkin
+ * @author Gary Gregory
* @version $Id$
*/
public class MethodUtils {
@@ -428,8 +429,6 @@
}
// Check the implemented interfaces and subinterfaces
- String methodName = method.getName();
- Class[] parameterTypes = method.getParameterTypes();
method =
getAccessibleMethodFromInterfaceNest(clazz,
method.getName(),
@@ -516,7 +515,6 @@
}
// 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++) {
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>