summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Ramstad <cramstad@ciena.com>2020-03-11 16:06:14 -0700
committerChris Ramstad <cramstad@ciena.com>2020-03-11 16:06:14 -0700
commit2790438d6a06f52114499f89a1c3f822e984228e (patch)
tree4cff8783f62a116c56e8757dc68e56bc97a1be20
parentc2e24def7c1de97838af00560bdb0bf84f3abc4b (diff)
SONAR: Squelch bug regarding non-initalized lombok.NonNull values
Issue-ID: POLICY-2389 Signed-off-by: Chris Ramstad <cramstad@ciena.com> Change-Id: Iba9faf9e878d55022be7882e862ebed826dc76c1
-rw-r--r--models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaConstraintLogical.java1
-rw-r--r--models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaConstraintValidValues.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaConstraintLogical.java b/models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaConstraintLogical.java
index 41cd1c274..b98775167 100644
--- a/models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaConstraintLogical.java
+++ b/models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaConstraintLogical.java
@@ -65,6 +65,7 @@ public class JpaToscaConstraintLogical extends JpaToscaConstraint {
*
* @param authorativeConcept the authorative concept to copy from
*/
+ @SuppressWarnings("java:S2637")
public JpaToscaConstraintLogical(final ToscaConstraint authorativeConcept) {
super(authorativeConcept);
}
diff --git a/models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaConstraintValidValues.java b/models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaConstraintValidValues.java
index 664855e42..a96ae4623 100644
--- a/models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaConstraintValidValues.java
+++ b/models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaConstraintValidValues.java
@@ -63,6 +63,7 @@ public class JpaToscaConstraintValidValues extends JpaToscaConstraint {
*
* @param authorativeConcept the authorative concept to copy from
*/
+ @SuppressWarnings("java:S2637")
public JpaToscaConstraintValidValues(final ToscaConstraint authorativeConcept) {
super(authorativeConcept);
}