click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From med...@apache.org
Subject svn commit: r777055 - /incubator/click/trunk/click/framework/src/org/apache/click/util/PropertyUtils.java
Date Thu, 21 May 2009 10:59:12 GMT
Author: medgar
Date: Thu May 21 10:59:11 2009
New Revision: 777055

URL: http://svn.apache.org/viewvc?rev=777055&view=rev
Log:
rollback ConcurrentHashMap change

Modified:
    incubator/click/trunk/click/framework/src/org/apache/click/util/PropertyUtils.java   (contents,
props changed)

Modified: incubator/click/trunk/click/framework/src/org/apache/click/util/PropertyUtils.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/util/PropertyUtils.java?rev=777055&r1=777054&r2=777055&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/util/PropertyUtils.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/util/PropertyUtils.java Thu
May 21 10:59:11 2009
@@ -20,7 +20,8 @@
 
 import java.lang.reflect.Method;
 import java.util.Map;
-import java.util.concurrent.ConcurrentHashMap;
+
+import EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap;
 
 import ognl.Ognl;
 import ognl.OgnlException;
@@ -33,10 +34,10 @@
 public class PropertyUtils {
 
     /** Provides a synchronized cache of OGNL expressions. */
-    private static final Map OGNL_EXPRESSION_CACHE = new ConcurrentHashMap();
+    private static final Map OGNL_EXPRESSION_CACHE = new ConcurrentReaderHashMap();
 
     /** Provides a synchronized cache of get value reflection methods. */
-    private static final Map GET_METHOD_CACHE = new ConcurrentHashMap();
+    private static final Map GET_METHOD_CACHE = new ConcurrentReaderHashMap();
 
     // -------------------------------------------------------- Public Methods
 

Propchange: incubator/click/trunk/click/framework/src/org/apache/click/util/PropertyUtils.java
            ('svn:mergeinfo' removed)



Mime
View raw message