harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odea...@apache.org
Subject svn commit: r823123 - /harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java
Date Thu, 08 Oct 2009 11:03:20 GMT
Author: odeakin
Date: Thu Oct  8 11:03:20 2009
New Revision: 823123

URL: http://svn.apache.org/viewvc?rev=823123&view=rev
Log:
Remove dead store in local variable.

Modified:
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java

Modified: harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java?rev=823123&r1=823122&r2=823123&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java
Thu Oct  8 11:03:20 2009
@@ -339,9 +339,6 @@
     private Method findAddRemoveListnerMethodWithLessCheck(
             Class<?> sourceClass, String methodName)
             throws IntrospectionException {
-        String expectedListenerTypeName = listenerType.getName();
-        expectedListenerTypeName = expectedListenerTypeName
-                .substring(expectedListenerTypeName.lastIndexOf('.') + 1);
         Method method = null;
         Method[] methods = sourceClass.getMethods();
         for (Method m : methods) {



Mime
View raw message