From 80805d9f83869873cc2a720c3c9036878189f72b Mon Sep 17 00:00:00 2001 From: Sweidan Omar Date: Fri, 21 Jan 2022 01:58:32 +0000 Subject: [PATCH] git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C32832 --- .../production/AMC/jobs/steps/NEXIOMetadataPersisterStep.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.54.0