HBASE-22082 Should not use an instance to access static members, which will increases compilation costs.

Signed-off-by: stack <stack@apache.org>
This commit is contained in:
李小保 2019-03-22 08:36:52 +08:00 committed by stack
parent 53f449c47e
commit bb75773ba2
1 changed files with 1 additions and 1 deletions

View File

@ -3678,7 +3678,7 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
visitBatchOperations(true, miniBatchOp.getLastIndexExclusive(), (int index) -> {
Mutation mutation = getMutation(index);
if (mutation instanceof Put) {
region.updateCellTimestamps(familyCellMaps[index].values(), byteTS);
HRegion.updateCellTimestamps(familyCellMaps[index].values(), byteTS);
miniBatchOp.incrementNumOfPuts();
} else {
region.prepareDeleteTimestamps(mutation, familyCellMaps[index], byteTS);