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/11 19:23:06 UTC

svn commit: r1181902 - /commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java

Author: mcucchiara
Date: Tue Oct 11 17:23:05 2011
New Revision: 1181902

URL: http://svn.apache.org/viewvc?rev=1181902&view=rev
Log:
Removed useless local _superclasses cache

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

Modified: commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java?rev=1181902&r1=1181901&r2=1181902&view=diff
==============================================================================
--- commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java (original)
+++ commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java Tue Oct 11 17:23:05 2011
@@ -168,8 +168,6 @@ public class OgnlRuntime
 
     static final ClassCache<Map<String, Field>> _fieldCache = new ConcurrentClassCache<Map<String, Field>>( );
 
-    static final List<Class<?>> _superclasses = new ArrayList<Class<?>>( ); /* Used by fieldCache lookup */
-
     static final ClassCache[] _declaredMethods =
         new ClassCache[]{ new ConcurrentClassCache( ), new ConcurrentClassCache( ) };
 
@@ -419,7 +417,6 @@ public class OgnlRuntime
         _instanceMethodCache.clear( );
         _invokePermissionCache.clear( );
         _fieldCache.clear( );
-        _superclasses.clear( );
         _declaredMethods[0].clear( );
         _declaredMethods[1].clear( );
         _methodAccessCache.clear( );