commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1126034 - /incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java
Date Sun, 22 May 2011 16:19:37 GMT
Author: simonetripodi
Date: Sun May 22 16:19:37 2011
New Revision: 1126034

URL: http://svn.apache.org/viewvc?rev=1126034&view=rev
Log:
internal Map<String, Class<?>> cache can be final

Modified:
    incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java

Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java?rev=1126034&r1=1126033&r2=1126034&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java Sun
May 22 16:19:37 2011
@@ -32,7 +32,7 @@ import java.util.Map;
 public class DefaultClassResolver
     implements ClassResolver
 {
-    private Map<String, Class<?>> classes = new HashMap<String, Class<?>>(
101 );
+    private final Map<String, Class<?>> classes = new HashMap<String, Class<?>>(
101 );
 
     /**
      * {@inheritDoc}



Mime
View raw message