Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4374
Change-Id: I7cfb377cc8008ab042a38824a4aad3d1b74723c0
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) {
default:
log.warn("Key {} is not supported. Ignored.", key);
}
- }
}
}
return propertyConstraint;