HBASE-18986 Remove unnecessary null check after CellUtil.cloneQualifier()
Signed-off-by: Jerry He <jerryjch@apache.org>
This commit is contained in:
parent
202e414eb2
commit
83af5f2c62
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue