changeset 971:f997df37cec1

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 14 Oct 2016 13:06:06 -0600
parents d82eb99e8df6
children 5ee36654b383
files src/org/eclipse/jetty/io/nio/SelectorManager.java src/org/eclipse/jetty/server/nio/SelectChannelConnector.java
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
diff -r d82eb99e8df6 -r f997df37cec1 src/org/eclipse/jetty/io/nio/SelectorManager.java
--- a/src/org/eclipse/jetty/io/nio/SelectorManager.java	Fri Oct 14 05:24:18 2016 -0600
+++ b/src/org/eclipse/jetty/io/nio/SelectorManager.java	Fri Oct 14 13:06:06 2016 -0600
@@ -36,7 +36,6 @@
 import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
 
-import org.eclipse.jetty.io.AsyncEndPoint;
 import org.eclipse.jetty.io.Connection;
 import org.eclipse.jetty.io.EndPoint;
 import org.eclipse.jetty.util.TypeUtil;
diff -r d82eb99e8df6 -r f997df37cec1 src/org/eclipse/jetty/server/nio/SelectChannelConnector.java
--- a/src/org/eclipse/jetty/server/nio/SelectChannelConnector.java	Fri Oct 14 05:24:18 2016 -0600
+++ b/src/org/eclipse/jetty/server/nio/SelectChannelConnector.java	Fri Oct 14 13:06:06 2016 -0600
@@ -100,7 +100,7 @@
 			_acceptChannel.socket().setReuseAddress(true);
 			InetSocketAddress addr = getHost()==null?new InetSocketAddress(port):new InetSocketAddress(getHost(),port);
 			_acceptChannel.bind(addr);
-			if( _acceptChannel.socket().getLocalPort() != port)
+			if( _acceptChannel.socket().getLocalPort() != port )
 				throw new IOException("Server channel not bound");
 		}