accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [1/2] accumulo git commit: ACCUMULO-3448 Break out to avoid the default case.
Date Tue, 23 Dec 2014 00:23:48 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master 87a22dd09 -> 87194852f


ACCUMULO-3448 Break out to avoid the default case.


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

Branch: refs/heads/master
Commit: 148e293acce79dcf02fe4bf13a221bf5881dd326
Parents: 87a22dd
Author: Josh Elser <elserj@apache.org>
Authored: Mon Dec 22 19:10:54 2014 -0500
Committer: Josh Elser <elserj@apache.org>
Committed: Mon Dec 22 19:10:54 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/148e293a/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;


Mime
View raw message