Skip to content

Commit

Permalink
Don't initialize an instance variable to its default value
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Oct 27, 2023
1 parent 315bd26 commit 5433084
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public boolean equals(final Object o) {
public static class ColumnComparator implements Comparator<PseudoRow>, Serializable {
private static final long serialVersionUID = -2284880866328872105L;

protected int colIndex = 0;
protected int colIndex;

public ColumnComparator(final int colIndex) {
this.colIndex = colIndex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
public class CompositeMapTest<K, V> extends AbstractIterableMapTest<K, V> {

/** used as a flag in MapMutator tests */
private boolean pass = false;
private boolean pass;

public CompositeMapTest() {
super(CompositeMapTest.class.getSimpleName());
Expand Down

0 comments on commit 5433084

Please sign in to comment.