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

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2634 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Juergen Hoeller 2009-12-13 12:31:34 +00:00
parent cecca1e70b
commit 70cfa58b28
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) {