summaryrefslogtreecommitdiffstats
path: root/java/com/google/gerrit/index/query/IntPredicate.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/google/gerrit/index/query/IntPredicate.java')
-rw-r--r--java/com/google/gerrit/index/query/IntPredicate.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/com/google/gerrit/index/query/IntPredicate.java b/java/com/google/gerrit/index/query/IntPredicate.java
index 16e59e7360..a98e0b1116 100644
--- a/java/com/google/gerrit/index/query/IntPredicate.java
+++ b/java/com/google/gerrit/index/query/IntPredicate.java
@@ -37,6 +37,8 @@ public abstract class IntPredicate<T> extends OperatorPredicate<T> {
return getOperator().hashCode() * 31 + intValue;
}
+ // Suppress the EqualsGetClass warning as this is legacy code.
+ @SuppressWarnings("EqualsGetClass")
@Override
public boolean equals(Object other) {
if (other == null) {