curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cammcken...@apache.org
Subject curator git commit: CURATOR-161 - Added @VisibleForTesting annotation to debugListener
Date Wed, 20 May 2015 02:03:42 GMT
Repository: curator
Updated Branches:
  refs/heads/CURATOR-161 4f21e318f -> 6612c91e7


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-161
Commit: 6612c91e7f6aa50ce961e0bfcc9fb4c3134e0a39
Parents: 4f21e31
Author: Cameron McKenzie <cameron@unico.com.au>
Authored: Wed May 20 12:03:17 2015 +1000
Committer: Cameron McKenzie <cameron@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>


Mime
View raw message