summaryrefslogtreecommitdiffstats
path: root/catalog-model/src
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-model/src')
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/PropertyOperation.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/PropertyOperation.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/PropertyOperation.java
index fa6df00d5a..0b8d2c8cb1 100644
--- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/PropertyOperation.java
+++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/PropertyOperation.java
@@ -2178,7 +2178,6 @@ public class PropertyOperation extends AbstractOperation implements IPropertyOpe
if (constraintType == null) {
log.warn("ConstraintType was not found for constraint name:{}", key);
} else {
- if (set.size() == 1 || (set.size() == 2 && ConstraintType.PATTERN == constraintType)) {
final JsonElement value = element.getValue();
final Object typedValue = getTypedValue(value);
switch (constraintType) {
@@ -2297,7 +2296,6 @@ public class PropertyOperation extends AbstractOperation implements IPropertyOpe
default:
log.warn("Key {} is not supported. Ignored.", key);
}
- }
}
}
return propertyConstraint;