From ab2283ee9862c8f516db814a6b329670e001c8b6 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Wed, 30 Sep 2009 07:00:07 +0000 Subject: [PATCH] Removed unnecessary indirect call in NioSocketChannel.isConnected() --- .../org/jboss/netty/channel/socket/nio/NioDatagramChannel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jboss/netty/channel/socket/nio/NioDatagramChannel.java b/src/main/java/org/jboss/netty/channel/socket/nio/NioDatagramChannel.java index 3bcfdafbe9..bc70fb9cd6 100644 --- a/src/main/java/org/jboss/netty/channel/socket/nio/NioDatagramChannel.java +++ b/src/main/java/org/jboss/netty/channel/socket/nio/NioDatagramChannel.java @@ -170,7 +170,7 @@ class NioDatagramChannel extends AbstractChannel } public boolean isConnected() { - return datagramChannel.socket().isConnected(); + return datagramChannel.isConnected(); } @Override