commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/reflect MethodUtils.java
Date Sat, 25 Jan 2003 13:01:39 GMT
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:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message