cleanup comments

This commit is contained in:
norman 2012-04-12 09:29:59 +02:00
parent 3f8c13f138
commit 941e71de36

View File

@ -430,7 +430,7 @@ abstract class AbstractNioWorker implements Worker {
int readyOps = k.readyOps();
if ((readyOps & SelectionKey.OP_READ) != 0 || readyOps == 0) {
if (!read(k)) {
// Connection already closed - no need to handle write.
// Connection already closed - no need to handle write / accept / connect.
continue;
}
}
@ -472,7 +472,6 @@ abstract class AbstractNioWorker implements Worker {
if (acceptedSocket == null) {
break;
}
// TODO: Remove the casting stuff
ChannelPipeline pipeline =
channel.getConfig().getPipelineFactory().getPipeline();
NioWorker worker = channel.workers.nextWorker();