Browse Source

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

pull/23217/head
Juergen Hoeller 15 years ago
parent
commit
b497f6ccad
  1. 2
      org.springframework.context/src/main/java/org/springframework/validation/beanvalidation/SpringValidatorAdapter.java

2
org.springframework.context/src/main/java/org/springframework/validation/beanvalidation/SpringValidatorAdapter.java

@ -121,7 +121,7 @@ public class SpringValidatorAdapter implements Validator, javax.validation.Valid @@ -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…
Cancel
Save