From f88319559a0fd52da247e65a1424c39f2e5537b4 Mon Sep 17 00:00:00 2001 From: Sweidan Omar Date: Sun, 20 Mar 2022 23:50:20 +0000 Subject: [PATCH] git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C33064 --- .../production/AMC/jobs/steps/shared/EscortFiles.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); } -- 2.54.0