diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-09-21 21:11:50 +0200 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-09-21 21:11:50 +0200 |
commit | fb6d819a5175e154c56810e47282d7e7fd7ef9d8 (patch) | |
tree | fab85b942faf19d3abf2551a8f726ead4a6e8088 /aai-failover | |
parent | fa81fb202babb8ee183a342f37f3bbe952ad2023 (diff) |
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 <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-failover')
-rw-r--r-- | aai-failover/pom.xml | 2 | ||||
-rw-r--r-- | aai-failover/src/main/java/org/onap/aai/failover/FailoverMonitor.java | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/aai-failover/pom.xml b/aai-failover/pom.xml index 14c01b33..cc6ad1f1 100644 --- a/aai-failover/pom.xml +++ b/aai-failover/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>org.onap.aai.aai-common</groupId> <artifactId>aai-parent</artifactId> - <version>1.14.7-SNAPSHOT</version> + <version>1.15.0-SNAPSHOT</version> <relativePath>../aai-parent/pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> 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(); |