mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-21 21:39:05 +00:00
SPR-4724
+ 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:
@@ -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[
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user