diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueBoxedValues.java b/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueBoxedValues.java index c47831af89d..cf3a4960fe2 100644 --- a/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueBoxedValues.java +++ b/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueBoxedValues.java @@ -63,7 +63,7 @@ public class AutoValueBoxedValues extends BugChecker implements ClassTreeMatcher @Override public Description matchClass(ClassTree tree, VisitorState state) { - if (!hasAnnotation(tree, AutoValue.class.getName(), state) || isSuppressed(tree, state)) { + if (!hasAnnotation(tree, AutoValue.class.getName(), state)) { return NO_MATCH; }