From 0a97b66b141951a4b87d10cea525a93bfa3804d1 Mon Sep 17 00:00:00 2001 From: cao tianze Date: Tue, 20 Dec 2016 01:15:32 +0800 Subject: [PATCH] delete redundant addBean(serverChannel) invoke Signed-off-by: cao tianze --- .../src/main/java/org/eclipse/jetty/server/ServerConnector.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/ServerConnector.java b/jetty-server/src/main/java/org/eclipse/jetty/server/ServerConnector.java index 3c0c62e2119..41d5e4828d0 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/ServerConnector.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/ServerConnector.java @@ -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);