@@ -133,15 +133,15 @@ public Type getBaseType() {
133133
134134 private final String name ;
135135 private final Type type ;
136- private final ValidationFormat validationFormat ;
137- private final List <Object > valueOptions ;
136+ private final ValidationFormat validationformat ;
137+ private final List <Object > valueoptions ;
138138 private final boolean required ;
139139
140- public Parameter (String name , Type type , ValidationFormat validationFormat , List <Object > valueOptions , boolean required ) {
140+ public Parameter (String name , Type type , ValidationFormat validationformat , List <Object > valueoptions , boolean required ) {
141141 this .name = name ;
142142 this .type = type ;
143- this .validationFormat = validationFormat ;
144- this .valueOptions = valueOptions ;
143+ this .validationformat = validationformat ;
144+ this .valueoptions = valueoptions ;
145145 this .required = required ;
146146 }
147147
@@ -248,11 +248,11 @@ public Type getType() {
248248 }
249249
250250 public ValidationFormat getValidationFormat () {
251- return validationFormat ;
251+ return validationformat ;
252252 }
253253
254254 public List <Object > getValueOptions () {
255- return valueOptions ;
255+ return valueoptions ;
256256 }
257257
258258 public boolean isRequired () {
@@ -275,7 +275,7 @@ public static List<Parameter> toListFromJson(String json) {
275275 }
276276
277277 private void validateValueInOptions (Object value ) {
278- if (CollectionUtils .isNotEmpty (valueOptions ) && !valueOptions .contains (value )) {
278+ if (CollectionUtils .isNotEmpty (valueoptions ) && !valueoptions .contains (value )) {
279279 throw new InvalidParameterException ();
280280 }
281281 }
@@ -291,11 +291,11 @@ public Object validatedValue(String value) {
291291 case DATE :
292292 return DateUtil .parseTZDateString (value );
293293 case NUMBER :
294- Object obj = parseNumber (value , validationFormat );
294+ Object obj = parseNumber (value , validationformat );
295295 validateValueInOptions (obj );
296296 return obj ;
297297 default :
298- if (!isValidStringValue (value , validationFormat )) {
298+ if (!isValidStringValue (value , validationformat )) {
299299 throw new IllegalArgumentException ();
300300 }
301301 validateValueInOptions (value );
0 commit comments