From b497f6ccad3eebcc6d475071bb7dd2741557d5e0 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Sun, 13 Dec 2009 12:31:34 +0000 Subject: [PATCH] fixed JSR-303 Validator delegation code (SPR-6557) --- .../validation/beanvalidation/SpringValidatorAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.springframework.context/src/main/java/org/springframework/validation/beanvalidation/SpringValidatorAdapter.java b/org.springframework.context/src/main/java/org/springframework/validation/beanvalidation/SpringValidatorAdapter.java index d6a28c3636..3b286bde07 100644 --- a/org.springframework.context/src/main/java/org/springframework/validation/beanvalidation/SpringValidatorAdapter.java +++ b/org.springframework.context/src/main/java/org/springframework/validation/beanvalidation/SpringValidatorAdapter.java @@ -121,7 +121,7 @@ public class SpringValidatorAdapter implements Validator, javax.validation.Valid public Set> validateValue( Class 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) {