From 4bd1cda121f7849c50d7c3ac0a9a9a74921c0386 Mon Sep 17 00:00:00 2001 From: fhanik Date: Wed, 11 Apr 2007 15:03:10 +0000 Subject: [PATCH] big oopsie, I know, right after the tag got created 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/tomcat/util/net/NioEndpoint.java b/java/org/apache/tomcat/util/net/NioEndpoint.java index 34716c5fc..e053a0be5 100644 --- a/java/org/apache/tomcat/util/net/NioEndpoint.java +++ b/java/org/apache/tomcat/util/net/NioEndpoint.java @@ -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); } -- 2.11.0