diff options
author | Ajith Sreekumar <ajith.sreekumar@bell.ca> | 2020-12-03 10:02:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-12-03 10:02:19 +0000 |
commit | d0e612882c86222dbc1560b1282de42cd245a905 (patch) | |
tree | feff59cac05945134fa8df8f31ea5b85d601a194 | |
parent | f46ff1a6e23faeb6cf880d3f865a50ce9cb45bec (diff) | |
parent | ec488290e3aa12cc7fcdf44cc7744bceae89af7f (diff) |
Merge "Remove unused imports"
7 files changed, 4 insertions, 9 deletions
diff --git a/models-base/src/test/java/org/onap/policy/models/base/PfConceptComparatorTest.java b/models-base/src/test/java/org/onap/policy/models/base/PfConceptComparatorTest.java index ea0762711..d69c93285 100644 --- a/models-base/src/test/java/org/onap/policy/models/base/PfConceptComparatorTest.java +++ b/models-base/src/test/java/org/onap/policy/models/base/PfConceptComparatorTest.java @@ -23,7 +23,6 @@ package org.onap.policy.models.base; import static org.junit.Assert.assertEquals; import org.junit.Test; -import org.onap.policy.models.base.testconcepts.DummyBadPfConcept; import org.onap.policy.models.base.testconcepts.DummyPfConcept; public class PfConceptComparatorTest { diff --git a/models-base/src/test/java/org/onap/policy/models/base/PfObjectFilterTest.java b/models-base/src/test/java/org/onap/policy/models/base/PfObjectFilterTest.java index 59d7ad70e..68cae439d 100644 --- a/models-base/src/test/java/org/onap/policy/models/base/PfObjectFilterTest.java +++ b/models-base/src/test/java/org/onap/policy/models/base/PfObjectFilterTest.java @@ -26,7 +26,6 @@ import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.util.ArrayList; -import java.util.Comparator; import java.util.List; import java.util.function.BiFunction; import java.util.function.Function; diff --git a/models-base/src/test/java/org/onap/policy/models/base/testconcepts/DummyPfObject.java b/models-base/src/test/java/org/onap/policy/models/base/testconcepts/DummyPfObject.java index 9759f4aef..09dbe6b13 100644 --- a/models-base/src/test/java/org/onap/policy/models/base/testconcepts/DummyPfObject.java +++ b/models-base/src/test/java/org/onap/policy/models/base/testconcepts/DummyPfObject.java @@ -21,9 +21,7 @@ package org.onap.policy.models.base.testconcepts; import lombok.Data; -import lombok.NonNull; import lombok.RequiredArgsConstructor; -import org.apache.commons.lang3.ObjectUtils; import org.onap.policy.models.base.PfNameVersion; /** diff --git a/models-base/src/test/java/org/onap/policy/models/base/testconcepts/DummyPfObjectComparator.java b/models-base/src/test/java/org/onap/policy/models/base/testconcepts/DummyPfObjectComparator.java index f83bce6a6..6e25de403 100644 --- a/models-base/src/test/java/org/onap/policy/models/base/testconcepts/DummyPfObjectComparator.java +++ b/models-base/src/test/java/org/onap/policy/models/base/testconcepts/DummyPfObjectComparator.java @@ -21,7 +21,6 @@ package org.onap.policy.models.base.testconcepts; import java.util.Comparator; -import org.onap.policy.models.base.PfNameVersion; /** * Compare two PfNameVersion objects. diff --git a/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaCapabilityAssignment.java b/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaCapabilityAssignment.java index 207f07a8f..d4925be6d 100644 --- a/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaCapabilityAssignment.java +++ b/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaCapabilityAssignment.java @@ -23,9 +23,11 @@ package org.onap.policy.models.tosca.authorative.concepts; import java.util.List; import java.util.Map; import lombok.Data; +import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; @Data +@EqualsAndHashCode(callSuper = true) @NoArgsConstructor public class ToscaCapabilityAssignment extends ToscaEntity { private Map<String, Object> properties; diff --git a/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaRequirement.java b/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaRequirement.java index 34dbb4f82..f633e67b7 100644 --- a/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaRequirement.java +++ b/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaRequirement.java @@ -23,8 +23,10 @@ package org.onap.policy.models.tosca.authorative.concepts; import java.util.List; import java.util.Map; import lombok.Data; +import lombok.EqualsAndHashCode; @Data +@EqualsAndHashCode(callSuper = true) public class ToscaRequirement extends ToscaEntity { private String capability; private String node; diff --git a/models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaProperty.java b/models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaProperty.java index 60e2fa05a..48ee9d4a2 100644 --- a/models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaProperty.java +++ b/models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaProperty.java @@ -35,19 +35,15 @@ import javax.persistence.Entity; import javax.persistence.Inheritance; import javax.persistence.InheritanceType; import javax.persistence.Table; -import javax.ws.rs.core.Response; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NonNull; import org.apache.commons.lang3.ObjectUtils; -import org.onap.policy.common.utils.coder.CoderException; -import org.onap.policy.common.utils.coder.StandardCoder; import org.onap.policy.common.utils.coder.YamlJsonTranslator; import org.onap.policy.models.base.PfAuthorative; import org.onap.policy.models.base.PfConcept; import org.onap.policy.models.base.PfConceptKey; import org.onap.policy.models.base.PfKey; -import org.onap.policy.models.base.PfModelRuntimeException; import org.onap.policy.models.base.PfReferenceKey; import org.onap.policy.models.base.PfUtils; import org.onap.policy.models.base.PfValidationMessage; |