You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by dr...@apache.org on 2015/08/19 01:18:39 UTC

[23/31] curator git commit: CURATOR-161 - Added @VisibleForTesting annotation to debugListener

CURATOR-161 - Added @VisibleForTesting annotation to debugListener


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

Branch: refs/heads/CURATOR-3.0
Commit: 6612c91e7f6aa50ce961e0bfcc9fb4c3134e0a39
Parents: 4f21e31
Author: Cameron McKenzie <ca...@unico.com.au>
Authored: Wed May 20 12:03:17 2015 +1000
Committer: Cameron McKenzie <ca...@unico.com.au>
Committed: Wed May 20 12:03:17 2015 +1000

----------------------------------------------------------------------
 .../org/apache/curator/framework/imps/FailedOperationManager.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/6612c91e/curator-framework/src/main/java/org/apache/curator/framework/imps/FailedOperationManager.java
----------------------------------------------------------------------
diff --git a/curator-framework/src/main/java/org/apache/curator/framework/imps/FailedOperationManager.java b/curator-framework/src/main/java/org/apache/curator/framework/imps/FailedOperationManager.java
index a1efde2..405561b 100644
--- a/curator-framework/src/main/java/org/apache/curator/framework/imps/FailedOperationManager.java
+++ b/curator-framework/src/main/java/org/apache/curator/framework/imps/FailedOperationManager.java
@@ -22,11 +22,14 @@ import org.apache.curator.framework.CuratorFramework;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+import com.google.common.annotations.VisibleForTesting;
+
 abstract class FailedOperationManager<T>
 {
     private final Logger log = LoggerFactory.getLogger(getClass());
     protected final CuratorFramework client;
     
+    @VisibleForTesting
     volatile FailedOperationManagerListener<T> debugListener = null;
     
     interface FailedOperationManagerListener<T>