diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ExplicitColumnTracker.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ExplicitColumnTracker.java index 040ada4beef..b779e223ad7 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ExplicitColumnTracker.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ExplicitColumnTracker.java @@ -76,8 +76,6 @@ public class ExplicitColumnTracker implements ColumnTracker { * @param maxVersions maximum versions to return per column * @param oldestUnexpiredTS the oldest timestamp we are interested in, * based on TTL - * @param lookAhead number of KeyValues to look ahead via next before - * (re)seeking */ public ExplicitColumnTracker(NavigableSet columns, int minVersions, int maxVersions, long oldestUnexpiredTS) { diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ScanQueryMatcher.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ScanQueryMatcher.java index a79b35f65ff..032b4ce1c5c 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ScanQueryMatcher.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ScanQueryMatcher.java @@ -233,8 +233,9 @@ public class ScanQueryMatcher { * @throws IOException */ public ScanQueryMatcher(Scan scan, ScanInfo scanInfo, NavigableSet columns, - long readPointToUse, long earliestPutTs, long oldestUnexpiredTS, long now, byte[] dropDeletesFromRow, - byte[] dropDeletesToRow, RegionCoprocessorHost regionCoprocessorHost) throws IOException { + long readPointToUse, long earliestPutTs, long oldestUnexpiredTS, long now, + byte[] dropDeletesFromRow, byte[] dropDeletesToRow, + RegionCoprocessorHost regionCoprocessorHost) throws IOException { this(scan, scanInfo, columns, ScanType.COMPACT_RETAIN_DELETES, readPointToUse, earliestPutTs, oldestUnexpiredTS, now, regionCoprocessorHost); Preconditions.checkArgument((dropDeletesFromRow != null) && (dropDeletesToRow != null)); @@ -579,8 +580,6 @@ public class ScanQueryMatcher { /** * @param nextIndexed the key of the next entry in the block index (if any) - * @param off - * @param len * @param kv The Cell we're using to calculate the seek key * @return result of the compare between the indexed key and the key portion of the passed cell */ @@ -594,8 +593,6 @@ public class ScanQueryMatcher { /** * @param nextIndexed the key of the next entry in the block index (if any) - * @param off - * @param len * @param kv The Cell we're using to calculate the seek key * @return result of the compare between the indexed key and the key portion of the passed cell */ diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java index 47e53604a18..4ba7235a411 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java @@ -338,7 +338,7 @@ public class StoreScanner extends NonReversedNonLazyKeyValueScanner } scanner.seek(seekKey); Cell c = scanner.peek(); - if (c != null ) { + if (c != null) { totalScannersSoughtBytes += CellUtil.estimatedSerializedSizeOf(c); } } @@ -604,7 +604,8 @@ public class StoreScanner extends NonReversedNonLazyKeyValueScanner */ private ScanQueryMatcher.MatchCode optimize(ScanQueryMatcher.MatchCode qcode, Cell cell) { Cell nextIndexedKey = getNextIndexedKey(); - if (nextIndexedKey == null || nextIndexedKey == HConstants.NO_NEXT_INDEXED_KEY || store == null) { + if (nextIndexedKey == null || nextIndexedKey == HConstants.NO_NEXT_INDEXED_KEY || + store == null) { return qcode; } switch(qcode) {