From 97aeecdef55b07b626009eb777d6fcb3be10dafb Mon Sep 17 00:00:00 2001 From: Sweidan Omar Date: Sun, 20 Mar 2022 23:55:55 +0000 Subject: [PATCH] git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C33068 --- .../MEDIAVIVANTIS-TEST/jobs/steps/shared/EscortFiles.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/-product/production/MEDIAVIVANTIS-TEST/jobs/steps/shared/EscortFiles.java b/server/-product/production/MEDIAVIVANTIS-TEST/jobs/steps/shared/EscortFiles.java index e5040995..8def5262 100644 --- a/server/-product/production/MEDIAVIVANTIS-TEST/jobs/steps/shared/EscortFiles.java +++ b/server/-product/production/MEDIAVIVANTIS-TEST/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 catchedFile.toFile().exists(); } @@ -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); } -- 2.54.0