From: Sweidan Omar Date: Fri, 10 Dec 2021 10:06:34 +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=9c0bd4f84c32400011a8d45084b4a855a69dbec3;p=mediacube.git git-tfs-id: [tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C32539 --- diff --git a/server/user.jobengine.executors/src/user/jobengine/server/steps/ForkDownloadStep.java b/server/user.jobengine.executors/src/user/jobengine/server/steps/ForkDownloadStep.java index 6722c822..35431e50 100644 --- a/server/user.jobengine.executors/src/user/jobengine/server/steps/ForkDownloadStep.java +++ b/server/user.jobengine.executors/src/user/jobengine/server/steps/ForkDownloadStep.java @@ -92,20 +92,20 @@ public class ForkDownloadStep extends JobStep { if (escortFile.toFile().isDirectory()) return false; - //ami nem JSON azt nem kezeljuk + // ami nem JSON azt nem kezeljuk if (!escortFile.getFileName().toString().toLowerCase().endsWith(EscortFiles.DOT_JSON)) return false; - //aminek van COLORSPACE kiterjesztesu valtozata azt nem kezeljuk - // Path colorspaceFile = Paths.get(escortFile.toString() + ".colorspace"); - // if (colorspaceFile.toFile().exists()) - // return false; + // aminek van COLORSPACE kiterjesztesu valtozata azt nem kezeljuk + // Path colorspaceFile = Paths.get(escortFile.toString() + ".colorspace"); + // if (colorspaceFile.toFile().exists()) + // return false; if (EscortFiles.isCatchedFileExists(escortFile)) return false; String escortFileName = escortFile.getFileName().toString(); - //minimum 3 karakter: STORENAME.FILENAME.MXF.JSON + // minimum 3 karakter: STORENAME.FILENAME.MXF.JSON long dotCount = escortFileName.chars().filter(ch -> ch == '.').count(); if (dotCount < 3) return false; @@ -138,7 +138,7 @@ public class ForkDownloadStep extends JobStep { int priority = 50; - //megszakitasok miatt a mar lejott mozikat vegyuk elore 20.09.09 + // megszakitasok miatt a mar lejott mozikat vegyuk elore 20.09.09 if (targetExists(tempStoreUri, sourceFileName)) priority = 51;