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

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

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

doogie-3
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;