Merge pull request #1191 from CaoTianze/jetty-9.3.x

delete redundant addBean(serverChannel) invoke
This commit is contained in:
Joakim Erdfelt 2017-02-07 16:58:09 -07:00 committed by GitHub
commit 5920e14c9b
1 changed files with 0 additions and 2 deletions

View File

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