git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube...
authorSweidan Omar <TFS\sweidan.omar>
Sun, 20 Mar 2022 23:50:20 +0000 (23:50 +0000)
committerSweidan Omar <TFS\sweidan.omar>
Sun, 20 Mar 2022 23:50:20 +0000 (23:50 +0000)
server/-product/production/AMC/jobs/steps/shared/EscortFiles.java

index d579ca5dea47fc6b6a0171acb88aac0fe8713f86..fbab3571ffbf67dba423f1e98f358e401382ec1f 100644 (file)
@@ -97,12 +97,12 @@ public class EscortFiles {
         * @throws IOException\r
         */\r
        public static void createMediaCatch(Path mediaFile) throws IOException {\r
-               Path catchedFile = createMediaCathFilePath(mediaFile);\r
+               Path catchedFile = createMediaCatchFilePath(mediaFile);\r
                ensureUNCFolder(catchedFile.getParent());\r
                Files.createFile(catchedFile);\r
        }\r
 \r
-       private static Path createMediaCathFilePath(Path mediaFile) {\r
+       private static Path createMediaCatchFilePath(Path mediaFile) {\r
                return Paths.get(mediaFile.getParent().toString(), STATUSFOLDER, mediaFile.getFileName() + DOT_CATCHED);\r
        }\r
 \r
@@ -244,7 +244,7 @@ public class EscortFiles {
         * @return\r
         */\r
        public static boolean isMediaCatched(Path mediaFile) {\r
-               Path catchedFile = createMediaCathFilePath(mediaFile);\r
+               Path catchedFile = createMediaCatchFilePath(mediaFile);\r
                return Files.exists(catchedFile);\r
        }\r
 \r
@@ -291,7 +291,7 @@ public class EscortFiles {
         * @throws IOException\r
         */\r
        public static void removeMediaCatch(Path mediaFile) {\r
-               Path catchedFile = createMediaCathFilePath(mediaFile);\r
+               Path catchedFile = createMediaCatchFilePath(mediaFile);\r
                remove(catchedFile);\r
        }\r
 \r