diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/CollectionRules.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/CollectionRules.java index cd341e791d..08edc53a5b 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/CollectionRules.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/CollectionRules.java @@ -39,7 +39,7 @@ static final class CollectionIsEmpty { "java:S1155" /* This violation will be rewritten. */, "LexicographicalAnnotationAttributeListing" /* `key-*` entry must remain last. */, "OptionalFirstCollectionElement" /* This is a more specific template. */, - "StreamIsEmpty" /* This is a more specific template. */, + "StreamFindAnyIsEmpty" /* This is a more specific template. */, "key-to-resolve-AnnotationUseStyle-and-TrailingComment-check-conflict" }) boolean before(Collection collection) {