Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/
public class HollowUpdatePlan implements Iterable<HollowConsumer.Blob> {

public static HollowUpdatePlan DO_NOTHING = new HollowUpdatePlan(Collections.emptyList());
public static final HollowUpdatePlan DO_NOTHING = new HollowUpdatePlan(Collections.emptyList());

private final List<HollowConsumer.Blob> transitions;

Expand All @@ -39,7 +39,7 @@ private HollowUpdatePlan(List<HollowConsumer.Blob> transitions) {
}

public HollowUpdatePlan() {
this.transitions = new ArrayList();
this.transitions = new ArrayList<>();
}

public boolean isSnapshotPlan() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public class HollowSparseIntegerSet implements HollowTypeStateListener {

protected volatile SparseBitSet sparseBitSetVolatile;

private Set<Integer> valuesToSet;
private Set<Integer> valuesToClear;
private final Set<Integer> valuesToSet;
private final Set<Integer> valuesToClear;
private int maxValueToSet;

public interface IndexPredicate {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

public class GapEncodedVariableLengthIntegerReader {

public static GapEncodedVariableLengthIntegerReader EMPTY_READER = new GapEncodedVariableLengthIntegerReader(null, 0) {
public static final GapEncodedVariableLengthIntegerReader EMPTY_READER = new GapEncodedVariableLengthIntegerReader(null, 0) {
@Override
public int nextElement() {
return Integer.MAX_VALUE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*/
public class WastefulRecycler implements ArraySegmentRecycler {

public static WastefulRecycler DEFAULT_INSTANCE = new WastefulRecycler(11, 8);
public static WastefulRecycler SMALL_ARRAY_RECYCLER = new WastefulRecycler(5, 2);
public static final WastefulRecycler DEFAULT_INSTANCE = new WastefulRecycler(11, 8);
public static final WastefulRecycler SMALL_ARRAY_RECYCLER = new WastefulRecycler(5, 2);

private final int log2OfByteSegmentSize;
private final int log2OfLongSegmentSize;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/
public class IdentityOrdinalRemapper implements OrdinalRemapper {

public static IdentityOrdinalRemapper INSTANCE = new IdentityOrdinalRemapper();
public static final IdentityOrdinalRemapper INSTANCE = new IdentityOrdinalRemapper();

private IdentityOrdinalRemapper() { }

Expand Down