Author: doogie
Date: Tue Jun 1 22:02:06 2010
New Revision: 950283
URL:
http://svn.apache.org/viewvc?rev=950283&view=revLog:
Revert wrongly committed 950253
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/DependencyPool.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/DependencyPool.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/DependencyPool.java?rev=950283&r1=950282&r2=950283&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/DependencyPool.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/DependencyPool.java Tue Jun 1 22:02:06 2010
@@ -37,7 +37,7 @@ public class DependencyPool<K, I extends
this.executor = executor;
}
- public I add(I item) {
+ public void add(I item) {
if (allItems.putIfAbsent(item.getKey(), item) == null) {
submitLock.lock();
try {
@@ -46,7 +46,6 @@ public class DependencyPool<K, I extends
submitLock.unlock();
}
}
- return allItems.get(item.getKey());
}
public void addAll(Collection<I> items) {