From: Sweidan Omar Date: Sun, 20 Mar 2022 23:52:20 +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=66216b43affd46821a5db4781fe0b24b11987612;p=mediacube.git git-tfs-id: [tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C33065 --- diff --git a/server/user.jobengine.executors/src/user/jobengine/server/steps/shared/EscortFiles.java b/server/user.jobengine.executors/src/user/jobengine/server/steps/shared/EscortFiles.java index 34f5fda2..52c454e0 100644 --- a/server/user.jobengine.executors/src/user/jobengine/server/steps/shared/EscortFiles.java +++ b/server/user.jobengine.executors/src/user/jobengine/server/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); } - private static Path createMediaCathFilePath(Path mediaFile) { + private static Path createMediaCatchFilePath(Path mediaFile) { return Paths.get(mediaFile.getParent().toString(), STATUSFOLDER, mediaFile.getFileName() + DOT_CATCHED); } @@ -249,7 +249,7 @@ public class EscortFiles { * @return */ public static boolean isMediaCatched(Path mediaFile) { - Path catchedFile = createMediaCathFilePath(mediaFile); + Path catchedFile = createMediaCatchFilePath(mediaFile); return Files.exists(catchedFile); } @@ -296,7 +296,7 @@ public class EscortFiles { * @throws IOException */ public static void removeMediaCatch(Path mediaFile) { - Path catchedFile = createMediaCathFilePath(mediaFile); + Path catchedFile = createMediaCatchFilePath(mediaFile); remove(catchedFile); }