small fix
This commit is contained in:
parent
d62b988857
commit
7951f5e50d
|
@ -54,8 +54,8 @@ public class PropertyDefinitionFieldSetPersist {
|
|||
|
||||
@Override
|
||||
protected List<Specification> specifications(PropertyDefinitionFieldSetPersist item) {
|
||||
int min = fieldSetEntity != null && fieldSetEntity.getHasMultiplicity() && fieldSetEntity.getMultiplicity() != null ? fieldSetEntity.getMultiplicity().getMin() : 0;
|
||||
int max = fieldSetEntity != null && fieldSetEntity.getHasMultiplicity() && fieldSetEntity.getMultiplicity() != null ? fieldSetEntity.getMultiplicity().getMax() : Integer.MAX_VALUE;
|
||||
int min = fieldSetEntity != null && fieldSetEntity.getHasMultiplicity() && fieldSetEntity.getMultiplicity() != null && fieldSetEntity.getMultiplicity().getMin() != null ? fieldSetEntity.getMultiplicity().getMin() : 0;
|
||||
int max = fieldSetEntity != null && fieldSetEntity.getHasMultiplicity() && fieldSetEntity.getMultiplicity() != null && fieldSetEntity.getMultiplicity().getMax() != null ? fieldSetEntity.getMultiplicity().getMax() : Integer.MAX_VALUE;
|
||||
|
||||
return Arrays.asList(
|
||||
this.navSpec()
|
||||
|
|
Loading…
Reference in New Issue