cleanup
This commit is contained in:
parent
a442789f7a
commit
3992472b30
@ -55,8 +55,6 @@ public final class NioDatagramChannel
|
||||
private final Map<InetAddress, List<MembershipKey>> memberships =
|
||||
new HashMap<InetAddress, List<MembershipKey>>();
|
||||
|
||||
private volatile boolean connected;
|
||||
|
||||
private static DatagramChannel newSocket() {
|
||||
try {
|
||||
return DatagramChannel.open();
|
||||
@ -151,7 +149,6 @@ public final class NioDatagramChannel
|
||||
try {
|
||||
javaChannel().connect(remoteAddress);
|
||||
selectionKey().interestOps(selectionKey().interestOps() | SelectionKey.OP_READ);
|
||||
connected = true;
|
||||
success = true;
|
||||
return true;
|
||||
} finally {
|
||||
|
Loading…
Reference in New Issue
Block a user