fixed JSR-303 Validator delegation code (SPR-6557)
This commit is contained in:
parent
63996cbb06
commit
b497f6ccad
|
|
@ -121,7 +121,7 @@ public class SpringValidatorAdapter implements Validator, javax.validation.Valid
|
|||
public <T> Set<ConstraintViolation<T>> validateValue(
|
||||
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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue