HBASE-4606 Remove spam in HCM and fix a list.size == 0

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1185326 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2011-10-17 19:01:49 +00:00
parent 8558fab847
commit 03351581d0
2 changed files with 2 additions and 4 deletions

View File

@ -623,6 +623,7 @@ Release 0.92.0 - Unreleased
HBASE-4558 Refactor TestOpenedRegionHandler and TestOpenRegionHandler.(Ram)
HBASE-4558 Addendum for TestMasterFailover (Ram) - Breaks the build
HBASE-4568 Make zk dump jsp response faster
HBASE-4606 Remove spam in HCM and fix a list.size == 0
TASKS

View File

@ -1400,12 +1400,9 @@ public class HConnectionManager {
throw new IllegalArgumentException(
"argument results must be the same size as argument list");
}
if (list.size() == 0) {
if (list.isEmpty()) {
return;
}
if (LOG.isDebugEnabled()) {
LOG.debug("expecting "+results.length+" results");
}
// Keep track of the most recent servers for any given item for better
// exceptional reporting. We keep HRegionLocation to save on parsing.