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

index 96d44452e147275fd43dfb31d4661e21e1019291..2ba1b39e617f3d1229eb6448c70dc4d1e9969176 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