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-228 - Remove public access from the isAuthFailure method.
Date Thu, 23 Jul 2015 05:59:59 GMT
Repository: curator
Updated Branches:
  refs/heads/CURATOR-228 ecf67df89 -> cff86ead3


CURATOR-228 - Remove public access from the isAuthFailure method.


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

Branch: refs/heads/CURATOR-228
Commit: cff86ead3385cf9dfd74b966906d9b3213bebf87
Parents: ecf67df
Author: Cam McKenzie <cammckenzie@apache.org>
Authored: Thu Jul 23 15:59:13 2015 +1000
Committer: Cam McKenzie <cammckenzie@apache.org>
Committed: Thu Jul 23 15:59:13 2015 +1000

----------------------------------------------------------------------
 .../curator/framework/recipes/nodes/PersistentEphemeralNode.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/cff86ead/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentEphemeralNode.java
----------------------------------------------------------------------
diff --git a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentEphemeralNode.java
b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentEphemeralNode.java
index 35e18a5..11568c1 100644
--- a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentEphemeralNode.java
+++ b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentEphemeralNode.java
@@ -19,6 +19,7 @@
 
 package org.apache.curator.framework.recipes.nodes;
 
+import com.google.common.annotations.VisibleForTesting;
 import com.google.common.base.Preconditions;
 
 import org.apache.curator.framework.CuratorFramework;
@@ -416,7 +417,8 @@ public class PersistentEphemeralNode implements Closeable
         return (state.get() == State.STARTED);
     }
     
-    public boolean isAuthFailure()
+    @VisibleForTesting
+    boolean isAuthFailure()
     {
     	return authFailure.get();
     }


Mime
View raw message