From: markt Date: Fri, 1 Oct 2010 14:36:31 +0000 (+0000) Subject: getKeyCount() didn't do anything due to local variable definition X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7b6dac12feb9f0549a5e228d20cf2a9162e65008;p=tomcat7.0 getKeyCount() didn't do anything due to local variable definition git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1003548 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/tomcat/util/net/NioEndpoint.java b/java/org/apache/tomcat/util/net/NioEndpoint.java index 74c1dbeb9..a657192b8 100644 --- a/java/org/apache/tomcat/util/net/NioEndpoint.java +++ b/java/org/apache/tomcat/util/net/NioEndpoint.java @@ -1079,7 +1079,6 @@ public class NioEndpoint extends AbstractEndpoint { timeout(0, false); break; } - int keyCount = 0; try { if ( !close ) { if (wakeupCounter.get()>0) {