From 589f39af6227785c16fe84c9adc6ef39e46b792f Mon Sep 17 00:00:00 2001 From: Sweidan Omar Date: Fri, 21 Jan 2022 08:36:12 +0000 Subject: [PATCH] git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C32847 --- .../MEDIAVIVANTIS/jobs/steps/SafeDeleteRecursive.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/-product/production/MEDIAVIVANTIS/jobs/steps/SafeDeleteRecursive.java b/server/-product/production/MEDIAVIVANTIS/jobs/steps/SafeDeleteRecursive.java index 42c1bf9b..f709f911 100644 --- a/server/-product/production/MEDIAVIVANTIS/jobs/steps/SafeDeleteRecursive.java +++ b/server/-product/production/MEDIAVIVANTIS/jobs/steps/SafeDeleteRecursive.java @@ -233,7 +233,7 @@ public class SafeDeleteRecursive extends JobStep implements FileVisitor { //Date lastAccesDate = new Date(attr.lastAccessTime().toMillis()); Date createDate = new Date(attr.creationTime().toMillis()); boolean catchedExists = EscortFiles.isMediaCatched(mediaPath); - boolean noMDExists = nomdFile.toFile().exists(); + boolean noMDExists = Files.exists(nomdFile); boolean killdateExists = killDateFiles.size() > 0; //boolean mediaInfoAvailable = canReadMediaInfo(mediaPath); boolean mcArchived = mediaFile != null; -- 2.54.0