diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/FileRules.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/FileRules.java index 2372a8db83..5c69f95f2a 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/FileRules.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/FileRules.java @@ -50,6 +50,7 @@ String after(Path path) throws IOException { */ static final class FilesCreateTempFileToFile { @BeforeTemplate + @SuppressWarnings("java:S5443" /* This violation will be rewritten. */) File before(String prefix, String suffix) throws IOException { return Refaster.anyOf( File.createTempFile(prefix, suffix), File.createTempFile(prefix, suffix, null));