commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcucchi...@apache.org
Subject svn commit: r1187739 - /commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/entry/MethodCacheEntryFactory.java
Date Sat, 22 Oct 2011 17:48:15 GMT
Author: mcucchiara
Date: Sat Oct 22 17:48:14 2011
New Revision: 1187739

URL: http://svn.apache.org/viewvc?rev=1187739&view=rev
Log:
Inline variable

Modified:
    commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/entry/MethodCacheEntryFactory.java

Modified: commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/entry/MethodCacheEntryFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/entry/MethodCacheEntryFactory.java?rev=1187739&r1=1187738&r2=1187739&view=diff
==============================================================================
--- commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/entry/MethodCacheEntryFactory.java
(original)
+++ commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/entry/MethodCacheEntryFactory.java
Sat Oct 22 17:48:14 2011
@@ -41,9 +41,7 @@ public abstract class MethodCacheEntryFa
         Class<?> c = key.targetClass;
         while ( c != null )
         {
-            Method[] ma = c.getDeclaredMethods( );
-
-            for ( Method method : ma )
+            for ( Method method : c.getDeclaredMethods( ) )
             {
                 // skip over synthetic methods
 



Mime
View raw message