Add creation of files for upload by MailboxFileManager.

This commit is contained in:
akwizgran
2022-06-15 16:52:55 +01:00
parent b7b253cf24
commit a2fb388aa6
5 changed files with 289 additions and 34 deletions

View File

@@ -40,7 +40,7 @@ public class IoUtils {
}
}
private static void delete(File f) {
public static void delete(File f) {
if (!f.delete() && LOG.isLoggable(WARNING))
LOG.warning("Could not delete " + f.getAbsolutePath());
}