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:
[email protected]
With regards,
Apache Git Services