fixed JSR-303 Validator delegation code (SPR-6557)

This commit is contained in:
Juergen Hoeller 2009-12-13 12:31:34 +00:00
parent 63996cbb06
commit b497f6ccad
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ public class SpringValidatorAdapter implements Validator, javax.validation.Valid
public <T> Set<ConstraintViolation<T>> validateValue( public <T> Set<ConstraintViolation<T>> validateValue(
Class<T> beanType, String propertyName, Object value, Class<?>... groups) { Class<T> beanType, String propertyName, Object value, Class<?>... groups) {
return this.targetValidator.validateValue(beanType, propertyName, groups); return this.targetValidator.validateValue(beanType, propertyName, value, groups);
} }
public BeanDescriptor getConstraintsForClass(Class<?> clazz) { public BeanDescriptor getConstraintsForClass(Class<?> clazz) {