Author: fhanik
Date: Wed Apr 11 08:03:10 2007
New Revision: 527512

URL: http://svn.apache.org/viewvc?view=rev&rev=527512
Log:
big oopsie, I know, right after the tag got created

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?view=diff&rev=527512&r1=527511&r2=527512
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Wed 
Apr 11 08:03:10 2007
@@ -790,7 +790,7 @@
                     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);
             }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to