From: Sweidan Omar Date: Tue, 22 Mar 2022 12:59:42 +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=c3b43304c389dd875342be64b04bf6672ba06b1a;p=mediacube.git git-tfs-id: [tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C33075 --- diff --git a/server/-product/production/MEDIAVIVANTIS/jobs/steps/shared/EscortFiles.java b/server/-product/production/MEDIAVIVANTIS/jobs/steps/shared/EscortFiles.java index 3216b800..5fb5f301 100644 --- a/server/-product/production/MEDIAVIVANTIS/jobs/steps/shared/EscortFiles.java +++ b/server/-product/production/MEDIAVIVANTIS/jobs/steps/shared/EscortFiles.java @@ -96,12 +96,12 @@ public class EscortFiles { * @throws IOException */ public static void createMediaCatch(Path mediaFile) throws IOException { - Path catchedFile = createMediaCathFilePath(mediaFile); + Path catchedFile = createMediaCatchFilePath(mediaFile); ensureUNCFolder(catchedFile.getParent()); Files.createFile(catchedFile); } - public static Path createMediaCathFilePath(Path mediaFile) { + public static Path createMediaCatchFilePath(Path mediaFile) { String fileName = mediaFile.getFileName().toString() + DOT_CATCHED; return Paths.get(mediaFile.getParent().toString(), STATUSFOLDER, fileName); } @@ -250,7 +250,7 @@ public class EscortFiles { * @return */ public static boolean isMediaCatched(Path mediaFile) { - Path catchedFile = createMediaCathFilePath(mediaFile); + Path catchedFile = createMediaCatchFilePath(mediaFile); return Files.exists(catchedFile); } @@ -297,7 +297,7 @@ public class EscortFiles { * @throws IOException */ public static void removeMediaCatch(Path mediaFile) { - Path catchedFile = createMediaCathFilePath(mediaFile); + Path catchedFile = createMediaCatchFilePath(mediaFile); remove(catchedFile); }