From 03ec072b4ec71dfd9fe54881427ecaa6a08511a9 Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Tue, 30 Apr 2024 07:52:54 +0200 Subject: [PATCH] Nice :) --- .../java/tech/picnic/errorprone/refasterrules/FileRules.java | 1 + 1 file changed, 1 insertion(+) 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));