Fixed code style
This commit is contained in:
parent
97105446cb
commit
bddc3b2556
|
@ -70,8 +70,12 @@ public final class PropertyDefinitionImpl implements PropertyDefinition {
|
|||
this.mandatory= propertyAnnotation.mandatory();
|
||||
this.notnull = !propertyAnnotation.nullable();
|
||||
this.readonly = propertyAnnotation.readonly();
|
||||
if(propertyAnnotation.max()>0) this.max = propertyAnnotation.max();
|
||||
if(propertyAnnotation.max()>=propertyAnnotation.min() && propertyAnnotation.min()>0) this.min = propertyAnnotation.min();
|
||||
if(propertyAnnotation.max()>0) {
|
||||
this.max = propertyAnnotation.max();
|
||||
}
|
||||
if(propertyAnnotation.max()>=propertyAnnotation.min() && propertyAnnotation.min()>0) {
|
||||
this.min = propertyAnnotation.min();
|
||||
}
|
||||
|
||||
this.propertyTypeName = new PropertyTypeName(method);
|
||||
|
||||
|
|
Loading…
Reference in New Issue