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:
Subba Rao Pasupuleti 2020-02-11 03:57:52 -05:00 committed by GitHub
parent b410ff9c28
commit ef50cf5696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,6 @@ import java.net.SocketAddress;
import java.net.SocketTimeoutException;
import java.util.List;
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.
@ -60,7 +59,6 @@ public class OioServerSocketChannel extends AbstractOioMessageChannel
}
final ServerSocket socket;
final Lock shutdownLock = new ReentrantLock();
private final OioServerSocketChannelConfig config;
/**