git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube...
authorSweidan Omar <TFS\sweidan.omar>
Fri, 21 Jan 2022 02:02:00 +0000 (02:02 +0000)
committerSweidan Omar <TFS\sweidan.omar>
Fri, 21 Jan 2022 02:02:00 +0000 (02:02 +0000)
server/-product/production/AMC/jobs/steps/MetadataPersisterStep.java

index 2a04cc479ba6b693843014e68ac569a95f60952e..8a2e33309e4b929303f0444642d5a4964e55a216 100644 (file)
@@ -26,7 +26,7 @@ public class MetadataPersisterStep extends JobStep {
 \r
                        Path escortFilePath = Paths.get(escortFile);\r
                        //ha nem ment at a letoltott file az ellenorzesen, akkor már torolve lett\r
-                       if (escortFilePath.toFile().exists()) {\r
+                       if (Files.exists(escortFilePath)) {\r
                                String escortFileName = escortFilePath.getFileName().toString();\r
                                String sourceStoreName = escortFileName.substring(0, escortFileName.indexOf("."));\r
                                DownloadableMedia downloadable = EscortFiles.decode(escortFilePath);\r