delete redundant addBean(serverChannel) invoke

Signed-off-by: cao tianze <hnrcao@qq.com>
This commit is contained in:
cao tianze 2016-12-20 01:15:32 +08:00
parent f3a4ab1ae7
commit 0a97b66b14
1 changed files with 0 additions and 2 deletions

View File

@ -319,8 +319,6 @@ public class ServerConnector extends AbstractNetworkConnector
_localPort = serverChannel.socket().getLocalPort();
if (_localPort <= 0)
throw new IOException("Server channel not bound");
addBean(serverChannel);
}
serverChannel.configureBlocking(true);