You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by el...@apache.org on 2014/12/23 01:30:55 UTC

[3/4] accumulo git commit: ACCUMULO-3448 Break out to avoid the default case.

ACCUMULO-3448 Break out to avoid the default case.

Cherry-pick of 148e293acce79dcf02fe4bf13a221bf5881dd326 because I forgot
that it needed to be made in 1.6, and not just master.


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

Branch: refs/heads/1.6
Commit: 92551204eb040ff54b394a49eda1ad60712e516b
Parents: 62868b8
Author: Josh Elser <el...@apache.org>
Authored: Mon Dec 22 19:10:54 2014 -0500
Committer: Josh Elser <el...@apache.org>
Committed: Mon Dec 22 19:25:04 2014 -0500

----------------------------------------------------------------------
 fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooUtil.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/92551204/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooUtil.java
----------------------------------------------------------------------
diff --git a/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooUtil.java b/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooUtil.java
index 814c042..805bfff 100644
--- a/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooUtil.java
+++ b/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooUtil.java
@@ -304,6 +304,7 @@ public class ZooUtil {
                   continue;
                 } else if (code2 == Code.CONNECTIONLOSS || code2 == Code.OPERATIONTIMEOUT || code2 == Code.SESSIONEXPIRED) {
                   retryOrThrow(retry, e2);
+                  break;
                 } else {
                   // unhandled exception on setData()
                   throw e2;