commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcucchi...@apache.org
Subject svn commit: r1181902 - /commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
Date Tue, 11 Oct 2011 17:23:06 GMT
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( );



Mime
View raw message