Skip to content

Commit

Permalink
code review updates
Browse files Browse the repository at this point in the history
  • Loading branch information
keith-turner committed Aug 24, 2024
1 parent c07fc1f commit b8ecd24
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public interface TabletResolver {

public static class ScanMeasurer implements Runnable {

private ScanSession<?> session;
private Runnable task;
private final ScanSession<?> session;
private final Runnable task;

ScanMeasurer(ScanSession<?> session, Runnable task) {
this.session = session;
Expand All @@ -75,11 +75,11 @@ public static ScanMeasurer wrap(ScanSession<?> scanInfo, Runnable r) {
}

private OptionalLong lastRunTime = OptionalLong.empty();
private Stat idleStats = new Stat();
public Stat runStats = new Stat();
private final Stat idleStats = new Stat();
public final Stat runStats = new Stat();

public final ScanParameters scanParams;
private Map<String,String> executionHints;
private final Map<String,String> executionHints;
private final TabletResolver tabletResolver;

private volatile ScanTask<T> scanTask;
Expand Down Expand Up @@ -132,7 +132,7 @@ public Set<Column> getFetchedColumns() {

private class IterConfImpl implements IteratorConfiguration {

private IterInfo ii;
private final IterInfo ii;

IterConfImpl(IterInfo ii) {
this.ii = ii;
Expand Down

0 comments on commit b8ecd24

Please sign in to comment.