HBASE-7587. Fix two findbugs warnings in RowResource (Jean-Marc Spaggiari)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1434376 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5c8c3d0a8c
commit
bda467aeca
|
@ -240,7 +240,9 @@ public class RowResource extends ResourceBase {
|
||||||
} finally {
|
} finally {
|
||||||
if (table != null) try {
|
if (table != null) try {
|
||||||
table.close();
|
table.close();
|
||||||
} catch (IOException ioe) { }
|
} catch (IOException ioe) {
|
||||||
|
LOG.debug("Exception received while closing the table", ioe);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -555,7 +557,9 @@ public class RowResource extends ResourceBase {
|
||||||
} finally {
|
} finally {
|
||||||
if (table != null) try {
|
if (table != null) try {
|
||||||
table.close();
|
table.close();
|
||||||
} catch (IOException ioe) { }
|
} catch (IOException ioe) {
|
||||||
|
LOG.debug("Exception received while closing the table", ioe);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue