Browse Source
Use Files.delete() instead of File.delete(), and if there is an exception thrown propagate it unless errors are to be ignored so that the actual deletion failure cause is available to the caller (and will be logged). Change-Id: I5fdb5a4052942437ab365289ad4bb1b563c29456 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>stable-5.4
Thomas Wolf
6 years ago
1 changed files with 31 additions and 11 deletions
Loading…
Reference in new issue