git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube...
authorSweidan Omar <TFS\sweidan.omar>
Fri, 21 Jan 2022 08:36:12 +0000 (08:36 +0000)
committerSweidan Omar <TFS\sweidan.omar>
Fri, 21 Jan 2022 08:36:12 +0000 (08:36 +0000)
server/-product/production/MEDIAVIVANTIS/jobs/steps/SafeDeleteRecursive.java

index 42c1bf9b2a97086e96b3c2b5cec5d120d09d0032..f709f91191bdbffa46ff5c2d1dff15edf2728522 100644 (file)
@@ -233,7 +233,7 @@ public class SafeDeleteRecursive extends JobStep implements FileVisitor<Path> {
                //Date lastAccesDate = new Date(attr.lastAccessTime().toMillis());\r
                Date createDate = new Date(attr.creationTime().toMillis());\r
                boolean catchedExists = EscortFiles.isMediaCatched(mediaPath);\r
-               boolean noMDExists = nomdFile.toFile().exists();\r
+               boolean noMDExists = Files.exists(nomdFile);\r
                boolean killdateExists = killDateFiles.size() > 0;\r
                //boolean mediaInfoAvailable = canReadMediaInfo(mediaPath);\r
                boolean mcArchived = mediaFile != null;\r