HBASE-18986 Remove unnecessary null check after CellUtil.cloneQualifier()
Signed-off-by: Jerry He <jerryjch@apache.org>
This commit is contained in:
parent
e04b15c685
commit
aeaf222e35
|
@ -2956,7 +2956,6 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
|
||||||
// This is expensive.
|
// This is expensive.
|
||||||
if (cell.getTimestamp() == HConstants.LATEST_TIMESTAMP && CellUtil.isDeleteType(cell)) {
|
if (cell.getTimestamp() == HConstants.LATEST_TIMESTAMP && CellUtil.isDeleteType(cell)) {
|
||||||
byte[] qual = CellUtil.cloneQualifier(cell);
|
byte[] qual = CellUtil.cloneQualifier(cell);
|
||||||
if (qual == null) qual = HConstants.EMPTY_BYTE_ARRAY;
|
|
||||||
|
|
||||||
Integer count = kvCount.get(qual);
|
Integer count = kvCount.get(qual);
|
||||||
if (count == null) {
|
if (count == null) {
|
||||||
|
|
Loading…
Reference in New Issue