+ most of the problems were already fixed (probably by Mark). These are just minor adjustments

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2500 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Costin Leau
2009-11-24 14:32:18 +00:00
parent c2b7b406c4
commit 3800a1bdab
4 changed files with 42 additions and 22 deletions
@@ -117,7 +117,8 @@ public class Person {
public CustomerValidator(Validator addressValidator) {
if (addressValidator == null) {
throw new IllegalArgumentException("The supplied [Validator] is required and must not be null.");
throw new IllegalArgumentException(
"The supplied [Validator] is required and must not be null.");
}
if (!addressValidator.supports(Address.class)) {
throw new IllegalArgumentException(
@@ -729,7 +730,8 @@ public final class CustomPropertyEditorRegistrar implements PropertyEditorRegist
this.customPropertyEditorRegistrar = propertyEditorRegistrar;
}
protected void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) throws Exception {
protected void initBinder(HttpServletRequest request, ServletRequestDataBinder binder)
throws Exception {
]]><emphasis role="bold">this.customPropertyEditorRegistrar.registerCustomEditors(binder);</emphasis><![CDATA[
}