+ most of the problems were already fixed (probably by Mark). These are just minor adjustments
This commit is contained in:
Costin Leau
2009-11-24 14:32:18 +00:00
parent ef50082cad
commit 1f5568fa81
4 changed files with 42 additions and 22 deletions

View File

@@ -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[
}