remove calls to deprecated client.clearWatcherReferences()

Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/967faf12
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/967faf12
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/967faf12

Branch: refs/heads/CURATOR-3.0
Commit: 967faf123243b052ea01762ad55ace61ab39d15c
Parents: 198179c
Author: randgalt <randg...@apache.org>
Authored: Sat Oct 10 15:15:27 2015 -0500
Committer: randgalt <randg...@apache.org>
Committed: Sat Oct 10 15:15:27 2015 -0500

----------------------------------------------------------------------
 .../java/org/apache/curator/framework/recipes/cache/NodeCache.java  | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/967faf12/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/NodeCache.java
----------------------------------------------------------------------
diff --git 
a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/NodeCache.java
 
b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/NodeCache.java
index 8b70db1..2bc62ed 100644
--- 
a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/NodeCache.java
+++ 
b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/NodeCache.java
@@ -181,7 +181,6 @@ public class NodeCache implements Closeable
         {
             client.removeWatchers();
             listeners.clear();
-            client.clearWatcherReferences(watcher);
             
client.getConnectionStateListenable().removeListener(connectionStateListener);
 
             // TODO

Reply via email to