From 07fba7f8593822dc1b18eaad98537b03c6b56be7 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Thu, 28 Aug 2008 13:37:26 +0000 Subject: [PATCH] Suppressed unnecessary warning message .. (was not fixed in the previous fix) --- .../netty/channel/socket/oio/OioServerSocketPipelineSink.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jboss/netty/channel/socket/oio/OioServerSocketPipelineSink.java b/src/main/java/org/jboss/netty/channel/socket/oio/OioServerSocketPipelineSink.java index e318224c4c..f3a5dfb49a 100644 --- a/src/main/java/org/jboss/netty/channel/socket/oio/OioServerSocketPipelineSink.java +++ b/src/main/java/org/jboss/netty/channel/socket/oio/OioServerSocketPipelineSink.java @@ -218,7 +218,7 @@ class OioServerSocketPipelineSink extends AbstractChannelSink { } catch (IOException e) { // Don't log the exception if the server socket was closed // by a user. - if (!channel.isBound() || !channel.isOpen()) { + if (!channel.socket.isBound() || channel.socket.isClosed()) { break; }