Skip to content

Commit

Permalink
remove unused shutdownLock (#10010)
Browse files Browse the repository at this point in the history
Motivation:

This is unused variable

Modification:

removed variable

Result:

Removes unused lock

Co-authored-by: phani254 <phani254@yahoo.com>
  • Loading branch information
subbarao and phani254 committed Feb 11, 2020
1 parent b410ff9 commit ef50cf5
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
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.
Expand All @@ -60,7 +59,6 @@ private static ServerSocket newServerSocket() {
}

final ServerSocket socket;
final Lock shutdownLock = new ReentrantLock();
private final OioServerSocketChannelConfig config;

/**
Expand Down

0 comments on commit ef50cf5

Please sign in to comment.