TisonKun commented on a change in pull request #1064: ZOOKEEPER-3523: Replace 
dummy watcher with a unified singleton
URL: https://github.com/apache/zookeeper/pull/1064#discussion_r319047261
 
 

 ##########
 File path: zookeeper-server/src/main/java/org/apache/zookeeper/Watcher.java
 ##########
 @@ -31,6 +31,8 @@
 @InterfaceAudience.Public
 public interface Watcher {
 
+    Watcher DUMMY_WATCHER = event -> { };
 
 Review comment:
   Updated

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to