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

index fa46f12f9d83ac0f093ad9258bde451f4212592f..c888f72278e5ebf17a31b6dbe7b605646ff09d5d 100644 (file)
@@ -96,12 +96,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
-       public static Path createMediaCathFilePath(Path mediaFile) {\r
+       public static Path createMediaCatchFilePath(Path mediaFile) {\r
                String fileName = mediaFile.getFileName().toString() + DOT_CATCHED;\r
                return Paths.get(mediaFile.getParent().toString(), STATUSFOLDER, fileName);\r
        }\r
@@ -250,7 +250,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
@@ -297,7 +297,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