From: Sweidan Omar Date: Sun, 20 Mar 2022 23:50: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=f88319559a0fd52da247e65a1424c39f2e5537b4;p=mediacube.git git-tfs-id: [tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C33064 --- diff --git a/server/-product/production/AMC/jobs/steps/shared/EscortFiles.java b/server/-product/production/AMC/jobs/steps/shared/EscortFiles.java index d579ca5d..fbab3571 100644 --- a/server/-product/production/AMC/jobs/steps/shared/EscortFiles.java +++ b/server/-product/production/AMC/jobs/steps/shared/EscortFiles.java @@ -97,12 +97,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); } @@ -244,7 +244,7 @@ public class EscortFiles { * @return */ public static boolean isMediaCatched(Path mediaFile) { - Path catchedFile = createMediaCathFilePath(mediaFile); + Path catchedFile = createMediaCatchFilePath(mediaFile); return Files.exists(catchedFile); } @@ -291,7 +291,7 @@ public class EscortFiles { * @throws IOException */ public static void removeMediaCatch(Path mediaFile) { - Path catchedFile = createMediaCathFilePath(mediaFile); + Path catchedFile = createMediaCatchFilePath(mediaFile); remove(catchedFile); }