Author: doogie
Date: Wed Apr 18 23:48:08 2012
New Revision: 1327730
URL:
http://svn.apache.org/viewvc?rev=1327730&view=revLog:
OPTIMIZE: nothing in runLog.put can throw an exception, except for
standard OutOfMemory type conditions; therefore, there is no reason to
actually catch and log any exception that won't be thrown anyways.
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java?rev=1327730&r1=1327729&r2=1327730&view=diff==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java Wed Apr 18 23:48:08 2012
@@ -1060,17 +1060,7 @@ public class ServiceDispatcher {
// set up the running service log
RunningService rs = new RunningService(localName, modelService, mode);
synchronized(runLog) {
- try {
- runLog.put(rs, this);
- } catch (Throwable t) {
- Debug.logWarning("LRUMap problem; resetting LRU [" + runLog.size() + "]", module);
- runLog.clear();
- try {
- runLog.put(rs, this);
- } catch (Throwable t2) {
- Debug.logError(t2, "Unable to put() in reset LRU map!", module);
- }
- }
+ runLog.put(rs, this);
}
return rs;
}