RED-6204: Added annotation to suppress a false-positive warning in SonarQube
This commit is contained in:
parent
dcf040b000
commit
6e73cac99c
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user