mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03: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:
@ -85,7 +85,7 @@ public class FileUtils {
|
|||||||
recursiveDelete(current);
|
recursiveDelete(current);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
deleteIfExists(file);
|
file.delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static File createTempFolder() throws IOException {
|
public static File createTempFolder() throws IOException {
|
||||||
|
Reference in New Issue
Block a user