From b126aa0bc7c37eeaeeb22c054507aa98e7a5af20 Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Thu, 27 Jul 2023 10:12:59 +0100 Subject: Java 17 Upgrade Issue-ID: POLICY-4669 Change-Id: I2a57a8366d3956a172a94c81ab950af179d4767b Signed-off-by: adheli.tavares --- models-base/pom.xml | 7 +- .../org/onap/policy/models/base/PfConcept.java | 6 +- .../policy/models/base/PfConceptContainer.java | 53 ++++++----- .../org/onap/policy/models/base/PfConceptKey.java | 12 ++- .../java/org/onap/policy/models/base/PfKey.java | 4 +- .../org/onap/policy/models/base/PfKeyImpl.java | 16 ++-- .../java/org/onap/policy/models/base/PfKeyUse.java | 6 +- .../java/org/onap/policy/models/base/PfModel.java | 49 +++++----- .../onap/policy/models/base/PfModelException.java | 26 +++--- .../models/base/PfModelRuntimeException.java | 26 +++--- .../onap/policy/models/base/PfModelService.java | 12 +-- .../onap/policy/models/base/PfReferenceKey.java | 103 +++++++++------------ .../models/base/PfReferenceTimestampKey.java | 17 ++-- .../onap/policy/models/base/PfSearchableKey.java | 10 +- .../onap/policy/models/base/PfTimestampKey.java | 18 ++-- .../java/org/onap/policy/models/base/PfUtils.java | 52 +++++------ .../org/onap/policy/models/base/PfValidator.java | 11 +-- .../onap/policy/models/base/ExceptionsTest.java | 12 +-- .../policy/models/base/PfConceptContainerTest.java | 14 +-- .../models/base/PfModelExceptionInfoTest.java | 4 +- .../onap/policy/models/base/PfValidatorTest.java | 19 ++-- .../models/base/testconcepts/DummyPfConcept.java | 6 +- .../base/testconcepts/DummyPfConceptKeySub.java | 4 +- .../base/testconcepts/DummyPfConceptSub.java | 6 +- .../models/base/testconcepts/DummyPfKey.java | 13 +-- 25 files changed, 254 insertions(+), 252 deletions(-) (limited to 'models-base') diff --git a/models-base/pom.xml b/models-base/pom.xml index 5f84d9280..6594c8a8a 100644 --- a/models-base/pom.xml +++ b/models-base/pom.xml @@ -1,6 +1,6 @@