From 6e73cac99c99fc333b9ec29b4a16aad48ffba149 Mon Sep 17 00:00:00 2001 From: Viktor Seifert Date: Fri, 24 Feb 2023 17:19:52 +0100 Subject: [PATCH] RED-6204: Added annotation to suppress a false-positive warning in SonarQube --- .../redaction/v1/server/tableextraction/utils/FileUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redaction-service-v1/redaction-service-server-v1/src/main/java/com/iqser/red/service/redaction/v1/server/tableextraction/utils/FileUtils.java b/redaction-service-v1/redaction-service-server-v1/src/main/java/com/iqser/red/service/redaction/v1/server/tableextraction/utils/FileUtils.java index 3bcaf7fe..38cc9c6c 100644 --- a/redaction-service-v1/redaction-service-server-v1/src/main/java/com/iqser/red/service/redaction/v1/server/tableextraction/utils/FileUtils.java +++ b/redaction-service-v1/redaction-service-server-v1/src/main/java/com/iqser/red/service/redaction/v1/server/tableextraction/utils/FileUtils.java @@ -38,7 +38,7 @@ public class FileUtils { // We don't need to check the results of the permission setters below, // since we're manipulating a file we created ourselves. - @SuppressWarnings("ResultOfMethodCallIgnored") + @SuppressWarnings({"ResultOfMethodCallIgnored", "squid:S899"}) private void setRWPermissionsOnlyForOwner(File tempFile) { try {