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

index e5040995c537550e02998fbd0d0f629f40ae70e4..8def526261fa0ed5faa3a89962bde88fc4e10670 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 catchedFile.toFile().exists();\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