bookkeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From si...@apache.org
Subject bookkeeper git commit: BOOKKEEPER-925: Fix FindBugs discovered issues in master
Date Fri, 29 Apr 2016 03:05:42 GMT
Repository: bookkeeper
Updated Branches:
  refs/heads/master 101de10a8 -> f8e0331f1


BOOKKEEPER-925: Fix FindBugs discovered issues in master

sijie Fixed the other findbugs error

Author: Matteo Merli <mmerli@apache.org>

Reviewers: Guo Sijie <sijie@apache.org>

Closes #40 from merlimat/bk-925


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

Branch: refs/heads/master
Commit: f8e0331f14a933ad2ed3d933c5eea927020b4967
Parents: 101de10
Author: Matteo Merli <mmerli@apache.org>
Authored: Thu Apr 28 20:05:37 2016 -0700
Committer: Sijie Guo <sijie@apache.org>
Committed: Thu Apr 28 20:05:37 2016 -0700

----------------------------------------------------------------------
 .../apache/bookkeeper/bookie/ScanAndCompareGarbageCollector.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bookkeeper/blob/f8e0331f/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/ScanAndCompareGarbageCollector.java
----------------------------------------------------------------------
diff --git a/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/ScanAndCompareGarbageCollector.java
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/ScanAndCompareGarbageCollector.java
index c422a89..4a4c15b 100644
--- a/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/ScanAndCompareGarbageCollector.java
+++ b/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/ScanAndCompareGarbageCollector.java
@@ -148,9 +148,9 @@ public class ScanAndCompareGarbageCollector implements GarbageCollector{
                 }
                 lastEnd = end;
             }
-        } catch (Exception e) {
+        } catch (Throwable t) {
             // ignore exception, collecting garbage next time
-            LOG.warn("Exception when iterating over the metadata {}", e);
+            LOG.warn("Exception when iterating over the metadata {}", t);
         } finally {
             if (zk != null) {
                 try {


Mime
View raw message