TisonKun commented on issue #1120: ZOOKEEPER-3579: Handle null default watcher gracefully URL: https://github.com/apache/zookeeper/pull/1120#issuecomment-545250253 Besides, it is effectively final since we set it exactly once, although the initialization are separated as ```java watchManager = defaultWatchManager(); watchManager.defaultWatcher = watcher; ``` we can do further factor but let's do it as a follow up.
---------------------------------------------------------------- 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