remove unused shutdownLock (#10010)
Motivation: This is unused variable Modification: removed variable Result: Removes unused lock Co-authored-by: phani254 <phani254@yahoo.com>
This commit is contained in:
parent
b410ff9c28
commit
ef50cf5696
@ -33,7 +33,6 @@ import java.net.SocketAddress;
|
|||||||
import java.net.SocketTimeoutException;
|
import java.net.SocketTimeoutException;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.concurrent.locks.Lock;
|
import java.util.concurrent.locks.Lock;
|
||||||
import java.util.concurrent.locks.ReentrantLock;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@link ServerSocketChannel} which accepts new connections and create the {@link OioSocketChannel}'s for them.
|
* {@link ServerSocketChannel} which accepts new connections and create the {@link OioSocketChannel}'s for them.
|
||||||
@ -60,7 +59,6 @@ public class OioServerSocketChannel extends AbstractOioMessageChannel
|
|||||||
}
|
}
|
||||||
|
|
||||||
final ServerSocket socket;
|
final ServerSocket socket;
|
||||||
final Lock shutdownLock = new ReentrantLock();
|
|
||||||
private final OioServerSocketChannelConfig config;
|
private final OioServerSocketChannelConfig config;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user