From: Sweidan Omar Date: Sun, 20 Mar 2022 23:53:22 +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=43b5a5c8ae75a6ff689cce190c43b2200302ae9d;p=mediacube.git git-tfs-id: [tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C33066 --- diff --git a/server/-product/production/LOCAL/jobs/steps/shared/EscortFiles.java b/server/-product/production/LOCAL/jobs/steps/shared/EscortFiles.java index fa46f12f..c888f722 100644 --- a/server/-product/production/LOCAL/jobs/steps/shared/EscortFiles.java +++ b/server/-product/production/LOCAL/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); }