diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2023-08-21 14:35:56 +0100 |
---|---|---|
committer | adheli.tavares <adheli.tavares@est.tech> | 2023-09-22 16:01:50 +0100 |
commit | 08ec52b6ed5ef7159087d708bddfa40d9ac03717 (patch) | |
tree | e3272e724c86cba0b57d84d43b6acc51e2f5ab32 /forwarding | |
parent | ff1698142a22a4811895d2ac7047fbadbb36b396 (diff) |
Upgrade Java 17
Issue-ID: POLICY-4803
Change-Id: Iad0d08ee6f8ab18eb177b458d8edbba4002bcc73
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'forwarding')
-rw-r--r-- | forwarding/pom.xml | 5 | ||||
-rw-r--r-- | forwarding/src/test/java/org/onap/policy/distribution/forwarding/TestExceptions.java | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/forwarding/pom.xml b/forwarding/pom.xml index de9c7217..2ef6d752 100644 --- a/forwarding/pom.xml +++ b/forwarding/pom.xml @@ -17,12 +17,13 @@ SPDX-License-Identifier: Apache-2.0 ============LICENSE_END========================================================= --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.onap.policy.distribution</groupId> <artifactId>policy-distribution</artifactId> - <version>3.0.0-SNAPSHOT</version> + <version>3.0.1-SNAPSHOT</version> </parent> <artifactId>forwarding</artifactId> diff --git a/forwarding/src/test/java/org/onap/policy/distribution/forwarding/TestExceptions.java b/forwarding/src/test/java/org/onap/policy/distribution/forwarding/TestExceptions.java index 66e16651..eaa74cfd 100644 --- a/forwarding/src/test/java/org/onap/policy/distribution/forwarding/TestExceptions.java +++ b/forwarding/src/test/java/org/onap/policy/distribution/forwarding/TestExceptions.java @@ -20,13 +20,13 @@ package org.onap.policy.distribution.forwarding; -import org.junit.Test; +import org.junit.jupiter.api.Test; import org.onap.policy.common.utils.test.ExceptionsTester; -public class TestExceptions { +class TestExceptions { @Test - public void test() { + void test() { new ExceptionsTester().test(PolicyForwardingException.class); } } |