Skip to content

Commit

Permalink
add final for watch stub
Browse files Browse the repository at this point in the history
  • Loading branch information
StupidHod committed Sep 5, 2016
1 parent d3fbf46 commit 4e55cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/coreos/jetcd/EtcdWatchImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class EtcdWatchImpl implements EtcdWatch {

private ConcurrentHashMap<Long, WatcherImpl> watchers = new ConcurrentHashMap<>();

private WatchGrpc.WatchStub watchStub;
private final WatchGrpc.WatchStub watchStub;

private ConcurrentLinkedQueue<Pair<WatcherImpl, CompletableFuture<Watcher>>> pendingCreateWatchers = new ConcurrentLinkedQueue<>();
private Map<Long, CompletableFuture<Boolean>> pendingCancelFutures = new ConcurrentHashMap<>();
Expand Down

0 comments on commit 4e55cac

Please sign in to comment.