From c0d2c6fed4acbfd1bf3a71e6b71e893f30088da7 Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Mon, 14 Sep 2009 22:43:44 +0000 Subject: [PATCH] polish --- spring-framework-reference/src/validation.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-framework-reference/src/validation.xml b/spring-framework-reference/src/validation.xml index b76eded94b..98acf8f27e 100644 --- a/spring-framework-reference/src/validation.xml +++ b/spring-framework-reference/src/validation.xml @@ -1323,7 +1323,7 @@ public class MyService { This allows your custom ConstraintValidators to benefit from dependency injection like any other Spring bean. - Shown below is an example of a custom Constraint declaration, followed by an associated ConstraintValidator implementation that uses Spring for dependency injection: + Shown below is an example of a custom @Constraint declaration, followed by an associated ConstraintValidator implementation that uses Spring for dependency injection: Configuring a DataBinder - Since Spring 3, a DataBinder instance can now be configured with a Validator. + Since Spring 3, a DataBinder instance can be configured with a Validator. Once configured, the Validator may be invoked by calling binder.validate(). Any validation Errors are automatically added to the binder's BindingResults.