curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cammcken...@apache.org
Subject [19/50] curator git commit: minor formatting
Date Tue, 21 Apr 2015 23:07:16 GMT
minor formatting


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

Branch: refs/heads/CURATOR-154
Commit: 9d61c122890a6a147a9a63ec7b503a14b1e61b90
Parents: 9ccf2a3
Author: randgalt <randgalt@apache.org>
Authored: Tue Jan 13 07:47:07 2015 -0500
Committer: randgalt <randgalt@apache.org>
Committed: Tue Jan 13 07:47:07 2015 -0500

----------------------------------------------------------------------
 .../framework/CuratorFrameworkFactory.java      | 24 ++++++++++----------
 1 file changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/9d61c122/curator-framework/src/main/java/org/apache/curator/framework/CuratorFrameworkFactory.java
----------------------------------------------------------------------
diff --git a/curator-framework/src/main/java/org/apache/curator/framework/CuratorFrameworkFactory.java
b/curator-framework/src/main/java/org/apache/curator/framework/CuratorFrameworkFactory.java
index 317426d..fdcae48 100644
--- a/curator-framework/src/main/java/org/apache/curator/framework/CuratorFrameworkFactory.java
+++ b/curator-framework/src/main/java/org/apache/curator/framework/CuratorFrameworkFactory.java
@@ -406,20 +406,20 @@ public class CuratorFrameworkFactory
         {
             switch ( authInfos.size() )
             {
-            case 0:
-            {
-                return null;
-            }
+                case 0:
+                {
+                    return null;
+                }
 
-            case 1:
-            {
-                return authInfos.get(0).getAuth();
-            }
+                case 1:
+                {
+                    return authInfos.get(0).getAuth();
+                }
 
-            default:
-            {
-                throw new IllegalStateException("More than 1 auth has been added");
-            }
+                default:
+                {
+                    throw new IllegalStateException("More than 1 auth has been added");
+                }
             }
         }
 


Mime
View raw message