mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-17 06:52:18 +01:00
Removed redundant call to File.deleteIfExists()
file is already checked for being not null, no need to check again.
This commit is contained in:
parent
956ddda98e
commit
971bd77058
@ -85,7 +85,7 @@ public class FileUtils {
|
||||
recursiveDelete(current);
|
||||
}
|
||||
}
|
||||
deleteIfExists(file);
|
||||
file.delete();
|
||||
}
|
||||
|
||||
public static File createTempFolder() throws IOException {
|
||||
|
Loading…
x
Reference in New Issue
Block a user