minor formatting change

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

Branch: refs/heads/CURATOR-3.0
Commit: 1571588f85d03326542af54e4ddd4212729e0c1f
Parents: 08102b0
Author: randgalt <randg...@apache.org>
Authored: Thu Mar 9 14:22:25 2017 -0800
Committer: randgalt <randg...@apache.org>
Committed: Thu Mar 9 14:22:25 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/curator/blob/1571588f/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentNode.java
----------------------------------------------------------------------
diff --git 
a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentNode.java
 
b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentNode.java
index 18ecf81..5753a93 100644
--- 
a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentNode.java
+++ 
b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentNode.java
@@ -117,7 +117,9 @@ public class PersistentNode implements Closeable
             {
                 //Update is ok, mark initialisation as complete if required.
                 initialisationComplete();
-            } else if ( event.getResultCode() == 
KeeperException.Code.NOAUTH.intValue() ) {
+            } 
+            else if ( event.getResultCode() == 
KeeperException.Code.NOAUTH.intValue() ) 
+            {
                 log.warn("Client does not have authorisation to write node at 
path {}", event.getPath());
                 authFailure.set(true);
             }

Reply via email to