mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-23 09:31:32 +01:00
fixed logging level when files cannot be deleted
Former-commit-id: d62acbe447b5cc78b992d910c9431c006e658b2e
This commit is contained in:
@@ -78,7 +78,7 @@ public final class FileUtils {
|
|||||||
if (!org.apache.commons.io.FileUtils.deleteQuietly(file)) {
|
if (!org.apache.commons.io.FileUtils.deleteQuietly(file)) {
|
||||||
success = false;
|
success = false;
|
||||||
final String msg = String.format("Failed to delete file: %s; attempting to delete on exit.", file.getPath());
|
final String msg = String.format("Failed to delete file: %s; attempting to delete on exit.", file.getPath());
|
||||||
LOGGER.log(Level.FINE, msg);
|
LOGGER.log(Level.INFO, msg);
|
||||||
file.deleteOnExit();
|
file.deleteOnExit();
|
||||||
}
|
}
|
||||||
return success;
|
return success;
|
||||||
|
|||||||
Reference in New Issue
Block a user