[
https://issues.apache.org/jira/browse/ZOOKEEPER-3523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Norbert Kalmar resolved ZOOKEEPER-3523.
---------------------------------------
Resolution: Fixed
> Replace dummy watcher with a unified singleton
> ----------------------------------------------
>
> Key: ZOOKEEPER-3523
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3523
> Project: ZooKeeper
> Issue Type: Improvement
> Components: server, tests
> Affects Versions: 3.6.0
> Reporter: TisonKun
> Assignee: TisonKun
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.6.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> Currently we have many anonymous subclasses of {{Watch}} all of which is justĀ
> event -> { }. We can reduce many subclasses in inherit tree by add a
> {{DUMMY_WATCHER}} in {{Watcher}} interface and replace all of those usages.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)