HBASE-18986 Remove unnecessary null check after CellUtil.cloneQualifier()

Signed-off-by: Jerry He <jerryjch@apache.org>
This commit is contained in:
Xiang Li 2017-10-11 20:55:27 +08:00 committed by Jerry He
parent 202e414eb2
commit 83af5f2c62
1 changed files with 0 additions and 1 deletions

View File

@ -2956,7 +2956,6 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
// This is expensive.
if (cell.getTimestamp() == HConstants.LATEST_TIMESTAMP && CellUtil.isDeleteType(cell)) {
byte[] qual = CellUtil.cloneQualifier(cell);
if (qual == null) qual = HConstants.EMPTY_BYTE_ARRAY;
Integer count = kvCount.get(qual);
if (count == null) {