diff --git a/CHANGES.txt b/CHANGES.txt index 0645ae1adc7..22fafea1dab 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -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 diff --git a/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java b/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java index 406e5e34549..f7fac44e875 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java @@ -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.