diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/JUnitRules.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/JUnitRules.java index 218213ab9a..31243e4aed 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/JUnitRules.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/JUnitRules.java @@ -18,6 +18,7 @@ private JUnitRules() {} /** Prefer statically imported {@link Arguments#arguments} over {@link Arguments#of} calls. */ static final class ArgumentsEnumeration { @BeforeTemplate + @SuppressWarnings("JUnitSingleArguments" /* The bugpattern does not understand Repeated. */) Arguments before(@Repeated T objects) { return Arguments.of(objects); }