Update MaxSizeConstraintValidator.java
This commit is contained in:
parent
c245528f3d
commit
1c21d3ed27
|
@ -11,7 +11,7 @@ public class MaxSizeConstraintValidator implements ConstraintValidator<MaxSizeCo
|
|||
|
||||
@Override
|
||||
public boolean isValid(List<Movie> values, ConstraintValidatorContext context) {
|
||||
return values.size()<=4
|
||||
return values.size() <= 4;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue