Return-Path: X-Original-To: apmail-curator-commits-archive@minotaur.apache.org Delivered-To: apmail-curator-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 547E11003E for ; Tue, 13 Jan 2015 12:49:30 +0000 (UTC) Received: (qmail 64427 invoked by uid 500); 13 Jan 2015 12:49:32 -0000 Delivered-To: apmail-curator-commits-archive@curator.apache.org Received: (qmail 64372 invoked by uid 500); 13 Jan 2015 12:49:32 -0000 Mailing-List: contact commits-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.apache.org Delivered-To: mailing list commits@curator.apache.org Received: (qmail 64336 invoked by uid 99); 13 Jan 2015 12:49:31 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2015 12:49:31 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id A4B5592DA32; Tue, 13 Jan 2015 12:49:31 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: randgalt@apache.org To: commits@curator.apache.org Date: Tue, 13 Jan 2015 12:49:39 -0000 Message-Id: In-Reply-To: <33e6087382e1452ab9408843c02c6d14@git.apache.org> References: <33e6087382e1452ab9408843c02c6d14@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [09/10] curator git commit: minor formatting 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/master Commit: 9d61c122890a6a147a9a63ec7b503a14b1e61b90 Parents: 9ccf2a3 Author: randgalt Authored: Tue Jan 13 07:47:07 2015 -0500 Committer: randgalt 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"); + } } }