提交 b497f6cc 编写于 作者: J Juergen Hoeller

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

上级 63996cbb
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册