aboutsummaryrefslogtreecommitdiff
path: root/android/guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java
diff options
context:
space:
mode:
Diffstat (limited to 'android/guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java')
-rw-r--r--android/guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java b/android/guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java
index 4780b1bf5..2290f296c 100644
--- a/android/guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java
+++ b/android/guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java
@@ -20,6 +20,7 @@ import com.google.common.annotations.GwtCompatible;
import com.google.common.collect.testing.Helpers;
import java.util.Collections;
import java.util.Set;
+import org.checkerframework.checker.nullness.qual.Nullable;
/**
* Encapsulates the constraints that a class under test must satisfy in order for a tester method to
@@ -54,7 +55,7 @@ public final class TesterRequirements {
}
@Override
- public boolean equals(Object object) {
+ public boolean equals(@Nullable Object object) {
if (object == this) {
return true;
}