Skip to content

Commit

Permalink
Javadoc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
car031 committed Jun 18, 2024
1 parent fc402f3 commit d3299cf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,8 @@ public static void strongDelete(File file) {
if (file != null && file.exists())
if (!FileUtils.deleteQuietly(file)) {
log.debug("Cannot delete file/folder {}", file.getAbsolutePath());

// We could not delete the file so at least try to append .DELETE suffix
moveQuitely(file, new File(file.getParent(), file.getName() + ".DELETE"));
}
}
Expand Down

0 comments on commit d3299cf

Please sign in to comment.