You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2007/10/17 20:11:41 UTC

svn commit: r585614 - /ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilTimer.java

Author: doogie
Date: Wed Oct 17 11:11:41 2007
New Revision: 585614

URL: http://svn.apache.org/viewvc?rev=585614&view=rev
Log:
Use FastMap instead of HashMap.  Closes
https://issues.apache.org/jira/browse/OFBIZ-1325

Modified:
    ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilTimer.java

Modified: ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilTimer.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilTimer.java?rev=585614&r1=585613&r2=585614&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilTimer.java (original)
+++ ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilTimer.java Wed Oct 17 11:11:41 2007
@@ -19,7 +19,8 @@
 package org.ofbiz.base.util;
 
 import java.util.Map;
-import java.util.HashMap;
+
+import javolution.util.FastMap;
 
 /**
  * Timer  handling utility
@@ -31,7 +32,7 @@
 public class UtilTimer {
     
     public static final String module = UtilTimer.class.getName();
-    protected static Map staticTimers = new HashMap();
+    protected static Map staticTimers = FastMap.newInstance();
 
     protected String timerName = null;
     protected String lastMessage = null;