mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-13 07:20:40 +01:00
Minor trace patch
This commit is contained in:
@@ -203,8 +203,8 @@ public class DownloadTask implements Callable<Future<ProcessTask>> {
|
||||
* Attempts to delete the files that were downloaded.
|
||||
*/
|
||||
public void cleanup() {
|
||||
if (first != null && first.exists() && first.delete()) {
|
||||
LOGGER.debug("Failed to delete first temporary file {}", second.toString());
|
||||
if (first != null && first.exists() && !first.delete()) {
|
||||
LOGGER.debug("Failed to delete first temporary file {}", first.toString());
|
||||
first.deleteOnExit();
|
||||
}
|
||||
if (second != null && second.exists() && !second.delete()) {
|
||||
|
||||
Reference in New Issue
Block a user