You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2017/12/08 14:26:37 UTC
svn commit: r1817503 -
/tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java
Author: markt
Date: Fri Dec 8 14:26:37 2017
New Revision: 1817503
URL: http://svn.apache.org/viewvc?rev=1817503&view=rev
Log:
Follow-up to r1817502
Modified:
tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java
Modified: tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java?rev=1817503&r1=1817502&r2=1817503&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java (original)
+++ tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java Fri Dec 8 14:26:37 2017
@@ -373,11 +373,11 @@ public class NioBlockingSelector {
private class RunnableAdd implements Runnable {
private final SocketChannel ch;
- private final NioSocketWrapper key;
+ private final KeyAttachment key;
private final int ops;
private final KeyReference ref;
- public RunnableAdd(SocketChannel ch, NioSocketWrapper key, int ops, KeyReference ref) {
+ public RunnableAdd(SocketChannel ch, KeyAttachment key, int ops, KeyReference ref) {
this.ch = ch;
this.key = key;
this.ops = ops;
@@ -408,10 +408,10 @@ public class NioBlockingSelector {
private class RunnableRemove implements Runnable {
private final SocketChannel ch;
- private final NioSocketWrapper key;
+ private final KeyAttachment key;
private final int ops;
- public RunnableRemove(SocketChannel ch, NioSocketWrapper key, int ops) {
+ public RunnableRemove(SocketChannel ch, KeyAttachment key, int ops) {
this.ch = ch;
this.key = key;
this.ops = ops;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org