Update MaxSizeConstraintValidator.java

This commit is contained in:
Liu Chuang 2020-09-25 15:14:41 +08:00 committed by GitHub
parent b5d49958eb
commit c245528f3d
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 value.size()<=4
return values.size()<=4
}
}