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:
parent
cecca1e70b
commit
70cfa58b28
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue