Update MaxSizeConstraintValidator.java

This commit is contained in:
Loredana Crusoveanu 2020-10-16 19:14:29 +03:00 committed by GitHub
parent c245528f3d
commit 1c21d3ed27
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}