From: Sweidan Omar Date: Fri, 21 Jan 2022 01:57:33 +0000 (+0000) Subject: git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube... X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=dd3a5c3df1701b8dd3ee90d0166a21b3c67be75b;p=mediacube.git git-tfs-id: [tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C32829 --- diff --git a/server/-product/production/AMC/jobs/steps/ForkDownloadStep.java b/server/-product/production/AMC/jobs/steps/ForkDownloadStep.java index 6722c822..91cd6507 100644 --- a/server/-product/production/AMC/jobs/steps/ForkDownloadStep.java +++ b/server/-product/production/AMC/jobs/steps/ForkDownloadStep.java @@ -98,7 +98,7 @@ public class ForkDownloadStep extends JobStep { //aminek van COLORSPACE kiterjesztesu valtozata azt nem kezeljuk // Path colorspaceFile = Paths.get(escortFile.toString() + ".colorspace"); - // if (colorspaceFile.toFile().exists()) + // if (Files.exists(colorspaceFile)) // return false; if (EscortFiles.isCatchedFileExists(escortFile)) @@ -191,7 +191,7 @@ public class ForkDownloadStep extends JobStep { private boolean targetExists(StoreUri storeUri, String fileName) { try { Path targetFile = Paths.get(storeUri.toString(true), fileName); - if (targetFile.toFile().exists()) { + if (Files.exists(targetFile)) { logger.info(getMarker(), "Retrieved file {} exists", fileName); return true; }