Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Implemented
-
None
-
None
Description
nio.Files#delete() provides better clue as to why the deletion may fail:
https://docs.oracle.com/javase/7/docs/api/java/nio/file/Files.html#delete(java.nio.file.Path)
Depending on the potential exception (FileNotFound), the call to localFile.exists() may be skipped.
Attachments
Issue Links
- links to