Author: doogie
Date: Wed Oct 17 19:23:39 2007
New Revision: 585792
URL:
http://svn.apache.org/viewvc?rev=585792&view=revLog:
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;