summaryrefslogtreecommitdiffstats
path: root/catalog-model/src
diff options
context:
space:
mode:
authorfranciscovila <javier.paradela.vila@est.tech>2023-06-01 07:59:31 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2023-06-14 21:47:35 +0000
commit56288ac75d57367587442043743879b8649055ac (patch)
tree1309d8ef1ed95c3db6d0219fc09c7826c5761f30 /catalog-model/src
parentacd364bb34d1288e3999c5c6ccf5fa8fba752e22 (diff)
Fix different issues when adding properties
Issue-ID: SDC-4522 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I6408570e5a3b571f3222f31ae30910061736a6c9
Diffstat (limited to 'catalog-model/src')
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/constraints/ValidValuesConstraint.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/constraints/ValidValuesConstraint.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/constraints/ValidValuesConstraint.java
index 569294d0b8..71a4ab61ce 100644
--- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/constraints/ValidValuesConstraint.java
+++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/constraints/ValidValuesConstraint.java
@@ -133,7 +133,6 @@ public class ValidValuesConstraint extends AbstractPropertyConstraint {
} else {
map = ConstraintUtil.parseToCollection(propertyDefinition.getDefaultValue(), new TypeReference<>() {});
}
-
valuesToValidate = map.values();
} else {
if (propertyDefinition.getValue() != null) {