ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mrisal...@apache.org
Subject svn commit: r1076442 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/DependencyPoolTests.java
Date Wed, 02 Mar 2011 22:33:55 GMT
Author: mrisaliti
Date: Wed Mar  2 22:33:54 2011
New Revision: 1076442

URL: http://svn.apache.org/viewvc?rev=1076442&view=rev
Log:
Remove a warning in DependencyPoolTests (OFBIZ-4102)

Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/DependencyPoolTests.java

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/DependencyPoolTests.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/DependencyPoolTests.java?rev=1076442&r1=1076441&r2=1076442&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/DependencyPoolTests.java
(original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/DependencyPoolTests.java
Wed Mar  2 22:33:54 2011
@@ -113,8 +113,8 @@ OUTER:
         public String call() throws Exception {
             int sleepTime = (int) (Math.random() * 100);
             Thread.sleep(sleepTime);
-            if (!subItems.isEmpty()) {
-                pool.addAll(subItems);
+            if (!getSubItems().isEmpty()) {
+                pool.addAll(getSubItems());
             }
             return result;
         }



Mime
View raw message