|
@@ -169,8 +169,8 @@ public class Parameter extends BaseEntity {
|
|
|
tempOptionalValues = optionalValues;
|
|
tempOptionalValues = optionalValues;
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
+ this.optionalValues = new ArrayList<>();
|
|
|
if (optionalValues != null) {
|
|
if (optionalValues != null) {
|
|
|
- this.optionalValues = new ArrayList<>();
|
|
|
|
|
for (Object object : optionalValues) {
|
|
for (Object object : optionalValues) {
|
|
|
Value v = new Value();
|
|
Value v = new Value();
|
|
|
v.setValue(type, object);
|
|
v.setValue(type, object);
|
|
@@ -193,7 +193,7 @@ public class Parameter extends BaseEntity {
|
|
|
tempValue = value;
|
|
tempValue = value;
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- if (this.value == null) {
|
|
|
|
|
|
|
+ if (value == null || this.value == null) {
|
|
|
this.value = new Value();
|
|
this.value = new Value();
|
|
|
}
|
|
}
|
|
|
this.value.setValue(type, value);
|
|
this.value.setValue(type, value);
|