From fb6d819a5175e154c56810e47282d7e7fd7ef9d8 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Sat, 21 Sep 2024 21:11:50 +0200 Subject: Migrate JAXB to jakarta - change javax.* JAXB packages to jakarta.* - bump snapshot version to 1.15.0-SNAPSHOT Issue-ID: AAI-4005 Change-Id: I2a208f717206a2ee8c2acaec8abb0a04fc620123 Signed-off-by: Fiete Ostkamp --- aai-failover/src/main/java/org/onap/aai/failover/FailoverMonitor.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'aai-failover/src') diff --git a/aai-failover/src/main/java/org/onap/aai/failover/FailoverMonitor.java b/aai-failover/src/main/java/org/onap/aai/failover/FailoverMonitor.java index 731abe7c..111ac6b2 100644 --- a/aai-failover/src/main/java/org/onap/aai/failover/FailoverMonitor.java +++ b/aai-failover/src/main/java/org/onap/aai/failover/FailoverMonitor.java @@ -24,7 +24,6 @@ import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; -import java.nio.file.Paths; import java.util.Properties; import org.springframework.beans.factory.annotation.Value; @@ -42,7 +41,7 @@ public class FailoverMonitor { public boolean shouldRun() throws IOException { - Path failoverPath = Paths.get(failoverPropertiesPath); + Path failoverPath = Path.of(failoverPropertiesPath); if (Files.exists(failoverPath)) { Properties properties = new Properties(); -- cgit 1.2.3-korg