commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1102984 - /incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlContext.java
Date Sat, 14 May 2011 09:33:06 GMT
Author: simonetripodi
Date: Sat May 14 09:33:06 2011
New Revision: 1102984

URL: http://svn.apache.org/viewvc?rev=1102984&view=rev
Log:
RESERVED_KEYS set can be final

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

Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlContext.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlContext.java?rev=1102984&r1=1102983&r2=1102984&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlContext.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlContext.java Sat May 14
09:33:06 2011
@@ -50,7 +50,7 @@ public class OgnlContext extends Object 
     public static final TypeConverter DEFAULT_TYPE_CONVERTER = new DefaultTypeConverter();
     public static final MemberAccess DEFAULT_MEMBER_ACCESS = new DefaultMemberAccess(false);
     
-    private static Set<String> RESERVED_KEYS = new HashSet<String>(11);
+    private static final Set<String> RESERVED_KEYS = new HashSet<String>(11);
     
     private Object _root;
     private Object _currentObject;



Mime
View raw message