You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2008/05/14 04:29:56 UTC
svn commit: r656089 -
/tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java
Author: fhanik
Date: Tue May 13 19:29:56 2008
New Revision: 656089
URL: http://svn.apache.org/viewvc?rev=656089&view=rev
Log:
tab police
Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java?rev=656089&r1=656088&r2=656089&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java Tue May 13 19:29:56 2008
@@ -232,7 +232,7 @@
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 @@
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) {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org