RED-6204: Added annotation to suppress a false-positive warning in SonarQube

This commit is contained in:
Viktor Seifert 2023-02-24 17:19:52 +01:00
parent dcf040b000
commit 6e73cac99c

View File

@ -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 {