zookeeper-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] TisonKun commented on a change in pull request #1064: ZOOKEEPER-3523: Replace dummy watcher with a unified singleton
Date Thu, 29 Aug 2019 12:33:10 GMT
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_r319042725
 
 

 ##########
 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:
   Make sense. I'd like to introduce a `DummyWatch` in test scope and corresponding updates.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message