You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mc...@apache.org on 2011/10/22 19:48:15 UTC

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

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