Remove a non occuring condition
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 24 Jul 2009 19:13:44 +0000 (19:13 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 24 Jul 2009 19:13:44 +0000 (19:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@797615 13f79535-47bb-0310-9956-ffa450edef68

modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java

index 992e80a..59adf0f 100644 (file)
@@ -100,7 +100,7 @@ public class FairBlockingQueue<E> implements BlockingQueue<E> {
                 c = waiters.poll();
                 //give the object to the thread instead of adding it to the pool
                 c.setItem(e);
-                if (isLinux && c!=null) c.countDown();
+                if (isLinux) c.countDown();
             } else {
                 //we always add first, so that the most recently used object will be given out
                 items.addFirst(e);