commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r1173404 - in /commons/proper/pool/trunk/src: java/org/apache/commons/pool2/impl/LinkedBlockingDeque.java test/org/apache/commons/pool2/TestPoolUtils.java
Date Tue, 20 Sep 2011 22:12:27 GMT
Author: psteitz
Date: Tue Sep 20 22:12:26 2011
New Revision: 1173404

URL: http://svn.apache.org/viewvc?rev=1173404&view=rev
Log:
Reverting changes inadvertently committed in  r1173400.

Modified:
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/LinkedBlockingDeque.java
    commons/proper/pool/trunk/src/test/org/apache/commons/pool2/TestPoolUtils.java

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/LinkedBlockingDeque.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/LinkedBlockingDeque.java?rev=1173404&r1=1173403&r2=1173404&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/LinkedBlockingDeque.java
(original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/LinkedBlockingDeque.java
Tue Sep 20 22:12:26 2011
@@ -145,10 +145,6 @@ public class LinkedBlockingDeque<E>
 
     /** Condition for waiting puts */
     private final Condition notFull = lock.newCondition();
-    
-    public boolean hasTakeWaiters() {
-        return lock.hasWaiters(notEmpty);
-    }
 
     /**
      * Creates a {@code LinkedBlockingDeque} with a capacity of

Modified: commons/proper/pool/trunk/src/test/org/apache/commons/pool2/TestPoolUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool2/TestPoolUtils.java?rev=1173404&r1=1173403&r2=1173404&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/test/org/apache/commons/pool2/TestPoolUtils.java (original)
+++ commons/proper/pool/trunk/src/test/org/apache/commons/pool2/TestPoolUtils.java Tue Sep
20 22:12:26 2011
@@ -56,7 +56,7 @@ public class TestPoolUtils {
     /** Sleep time to let the minIdle tests run CHECK_COUNT times. */
     private static final int CHECK_SLEEP_PERIOD = CHECK_PERIOD * (CHECK_COUNT - 1) + CHECK_PERIOD
/ 2;
 
-    @Test
+    @SuppressWarnings("unused")
     public void testJavaBeanInstantiation() {
         new PoolUtils();
     }



Mime
View raw message