From: fhanik Date: Wed, 14 May 2008 02:29:56 +0000 (+0000) Subject: tab police X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2f03d2808f7ea699b4f96234fb5314a4e2ad169c;p=tomcat7.0 tab police git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@656089 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/tomcat/util/net/NioBlockingSelector.java b/java/org/apache/tomcat/util/net/NioBlockingSelector.java index 3043cdd4c..292bbdf45 100644 --- a/java/org/apache/tomcat/util/net/NioBlockingSelector.java +++ b/java/org/apache/tomcat/util/net/NioBlockingSelector.java @@ -232,7 +232,7 @@ public class NioBlockingSelector { if (sk == null) { sk = ch.register(selector, ops, key); } else if (!sk.isValid()) { - cancel(sk,key,ops); + cancel(sk,key,ops); } else { sk.interestOps(sk.interestOps() | ops); } @@ -266,12 +266,12 @@ public class NioBlockingSelector { if (SelectionKey.OP_WRITE==(ops&SelectionKey.OP_WRITE)) countDown(key.getWriteLatch()); if (SelectionKey.OP_READ==(ops&SelectionKey.OP_READ))countDown(key.getReadLatch()); if (sk.interestOps()==0) { - sk.cancel(); - sk.attach(null); + sk.cancel(); + sk.attach(null); } }else { - sk.cancel(); - sk.attach(null); + sk.cancel(); + sk.attach(null); } } }catch (CancelledKeyException cx) {