From: Sweidan Omar Date: Fri, 21 Jan 2022 01:58:32 +0000 (+0000) Subject: git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube... X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=80805d9f83869873cc2a720c3c9036878189f72b;p=mediacube.git git-tfs-id: [tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C32832 --- diff --git a/server/-product/production/AMC/jobs/steps/NEXIOMetadataPersisterStep.java b/server/-product/production/AMC/jobs/steps/NEXIOMetadataPersisterStep.java index ffaf54a3..ffdda16d 100644 --- a/server/-product/production/AMC/jobs/steps/NEXIOMetadataPersisterStep.java +++ b/server/-product/production/AMC/jobs/steps/NEXIOMetadataPersisterStep.java @@ -26,7 +26,7 @@ public class NEXIOMetadataPersisterStep extends JobStep { public Object[] execute(StoreUri targetStoreUri, String escortFile) throws Exception { try { Path escortFilePath = Paths.get(escortFile); - if (!escortFilePath.toFile().exists()) { + if (!Files.exists(escortFilePath)) { logger.error(getMarker(), "Status file does not exists {}", escortFilePath); return null; }