Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim203 committed Jun 16, 2024
1 parent ee361e6 commit 109f236
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import javax.lang.model.type.TypeMirror;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.geysermc.databaseutils.processor.info.ColumnInfo;
Expand Down Expand Up @@ -90,4 +91,17 @@ public void validateTypes(
public void addParameterName(@NonNull CharSequence parameterName) {
parameterNames.add(parameterName);
}

@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
MultiInputKeyword that = (MultiInputKeyword) o;
return Objects.equals(parameterNames, that.parameterNames);
}

@Override
public int hashCode() {
return Objects.hashCode(parameterNames);
}
}

0 comments on commit 109f236

Please sign in to comment.