svn commit: r585792 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/cache/AbstractEntityConditionCache.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r585792 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/cache/AbstractEntityConditionCache.java

doogie-3
Author: doogie
Date: Wed Oct 17 19:23:39 2007
New Revision: 585792

URL: http://svn.apache.org/viewvc?rev=585792&view=rev
Log:
Switch AbstractEntityConditionCache to FastMap.

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/cache/AbstractEntityConditionCache.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/cache/AbstractEntityConditionCache.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/cache/AbstractEntityConditionCache.java?rev=585792&r1=585791&r2=585792&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/cache/AbstractEntityConditionCache.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/cache/AbstractEntityConditionCache.java Wed Oct 17 19:23:39 2007
@@ -18,11 +18,12 @@
  *******************************************************************************/
 package org.ofbiz.entity.cache;
 
-import java.util.HashMap;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Map;
 
+import javolution.util.FastMap;
+
 import org.ofbiz.base.util.Debug;
 import org.ofbiz.base.util.UtilMisc;
 import org.ofbiz.base.util.cache.UtilCache;
@@ -101,7 +102,7 @@
         Object conditionKey = getConditionKey(condition);
         Map conditionCache = (Map) utilCache.get(conditionKey);
         if (conditionCache == null) {
-            conditionCache = new HashMap();
+            conditionCache = FastMap.newInstance();
             utilCache.put(conditionKey, conditionCache);
         }
         return conditionCache;