ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doo...@apache.org
Subject svn commit: r950283 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/DependencyPool.java
Date Tue, 01 Jun 2010 22:02:06 GMT
Author: doogie
Date: Tue Jun  1 22:02:06 2010
New Revision: 950283

URL: http://svn.apache.org/viewvc?rev=950283&view=rev
Log:
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) {



Mime
View raw message