big oopsie, I know, right after the tag got created
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 11 Apr 2007 15:03:10 +0000 (15:03 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 11 Apr 2007 15:03:10 +0000 (15:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@527512 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/net/NioEndpoint.java

index 34716c5..e053a0b 100644 (file)
@@ -790,7 +790,7 @@ public class NioEndpoint {
                     executor = new ThreadPoolExecutor(getMinSpareThreads(), getMaxThreads(), 60, TimeUnit.SECONDS,taskqueue, tf);
                     taskqueue.setParent( (ThreadPoolExecutor) executor);
                 }
-            } else if ( executor != null ) {//avoid two thread pools being created
+            } else if ( executor == null ) {//avoid two thread pools being created
                 workers = new WorkerStack(maxThreads);
             }