commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r774099 - in /commons/proper/pool/trunk/src/test/org/apache/commons/pool: ./ impl/
Date Tue, 12 May 2009 21:29:03 GMT
Author: markt
Date: Tue May 12 21:29:02 2009
New Revision: 774099

URL: http://svn.apache.org/viewvc?rev=774099&view=rev
Log:
Minor clean up prompted by Eclipse

Modified:
    commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestKeyedObjectPool.java
    commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPool.java
    commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPoolFactory.java
    commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestSoftReferenceObjectPool.java
    commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackKeyedObjectPool.java
    commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackObjectPool.java
    commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackObjectPoolFactory.java

Modified: commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestKeyedObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestKeyedObjectPool.java?rev=774099&r1=774098&r2=774099&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestKeyedObjectPool.java (original)
+++ commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestKeyedObjectPool.java Tue
May 12 21:29:02 2009
@@ -244,7 +244,6 @@
         }
         final List expectedMethods = new ArrayList();
         Object obj;
-        int idleCount;
 
         /// Test correct behavior code paths
         obj = pool.borrowObject(KEY);

Modified: commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPool.java?rev=774099&r1=774098&r2=774099&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPool.java (original)
+++ commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPool.java Tue May
12 21:29:02 2009
@@ -254,7 +254,6 @@
         }
         final List expectedMethods = new ArrayList();
         Object obj;
-        int idleCount;
 
         /// Test correct behavior code paths
         obj = pool.borrowObject();

Modified: commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPoolFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPoolFactory.java?rev=774099&r1=774098&r2=774099&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPoolFactory.java
(original)
+++ commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPoolFactory.java
Tue May 12 21:29:02 2009
@@ -20,12 +20,9 @@
 import org.apache.commons.pool.TestKeyedObjectPoolFactory;
 import org.apache.commons.pool.KeyedObjectPoolFactory;
 import org.apache.commons.pool.KeyedPoolableObjectFactory;
-import org.apache.commons.pool.MethodCallPoolableObjectFactory;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import java.util.NoSuchElementException;
-
 /**
  * Tests for {@link GenericKeyedObjectPoolFactory}.
  *

Modified: commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestSoftReferenceObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestSoftReferenceObjectPool.java?rev=774099&r1=774098&r2=774099&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestSoftReferenceObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestSoftReferenceObjectPool.java
Tue May 12 21:29:02 2009
@@ -22,7 +22,6 @@
 
 import org.apache.commons.pool.ObjectPool;
 import org.apache.commons.pool.PoolableObjectFactory;
-import org.apache.commons.pool.TestObjectPool;
 import org.apache.commons.pool.TestBaseObjectPool;
 
 /**

Modified: commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackKeyedObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackKeyedObjectPool.java?rev=774099&r1=774098&r2=774099&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackKeyedObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackKeyedObjectPool.java
Tue May 12 21:29:02 2009
@@ -26,7 +26,6 @@
 
 import org.apache.commons.pool.KeyedObjectPool;
 import org.apache.commons.pool.KeyedPoolableObjectFactory;
-import org.apache.commons.pool.TestKeyedObjectPool;
 import org.apache.commons.pool.TestBaseKeyedObjectPool;
 
 /**

Modified: commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackObjectPool.java?rev=774099&r1=774098&r2=774099&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackObjectPool.java
Tue May 12 21:29:02 2009
@@ -21,7 +21,6 @@
 import junit.framework.TestSuite;
 import org.apache.commons.pool.ObjectPool;
 import org.apache.commons.pool.PoolableObjectFactory;
-import org.apache.commons.pool.TestObjectPool;
 import org.apache.commons.pool.TestBaseObjectPool;
 
 import java.util.ArrayList;
@@ -238,7 +237,7 @@
                     throw new RuntimeException("Couldn't passivate");
                 }
             }
-        };
+        }
         
         TestingPoolableObjectFactory factory = new TestingPoolableObjectFactory();
         

Modified: commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackObjectPoolFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackObjectPoolFactory.java?rev=774099&r1=774098&r2=774099&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackObjectPoolFactory.java
(original)
+++ commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackObjectPoolFactory.java
Tue May 12 21:29:02 2009
@@ -24,8 +24,6 @@
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import java.util.NoSuchElementException;
-
 /**
  * Tests for {@link StackObjectPoolFactory}.
  *



Mime
View raw message