From cacc5659da885db8131907a2764fa722cf51964c Mon Sep 17 00:00:00 2001 From: Vincent Koeman Date: Fri, 6 Oct 2023 17:45:28 +0200 Subject: [PATCH] supress warning --- .../java/tech/picnic/errorprone/refasterrules/JUnitRules.java | 1 + 1 file changed, 1 insertion(+) 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); }