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

index a54e22e7f387c235ed517b7acae240b9e6bc17d1..dadc5a48e9bce9436a1c00b193976bb3a436354c 100644 (file)
@@ -256,7 +256,7 @@ public class ArchiveRecursive extends JobStep implements FileVisitor<Path> {
 \r
                Path nomdFile = Paths.get(mediaPath.toString() + ".nomd");\r
 \r
-               if (nomdFile.toFile().exists()) {\r
+               if (Files.exists(nomdFile)) {\r
                        //logger.info(getSessionMarker(), "Skipping nomd file exists {}", nomdFile);\r
                        return false;\r
                }\r