You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reverse SPR-10402 change that caused 3.2.3 regression
SPR-10402 in Spring Framework 3.2.3 treated empty request parameter
values as missing values, if the empty value was turned into a null
by a PropertyEditor or Converter. This caused the regression.
Issue: SPR-10578, SPR-10402, SPR-10584
Copy file name to clipboardExpand all lines: spring-web/src/main/java/org/springframework/web/method/annotation/AbstractNamedValueMethodArgumentResolver.java
+1-7Lines changed: 1 addition & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2012 the original author or authors.
2
+
* Copyright 2002-2013 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
Copy file name to clipboardExpand all lines: spring-web/src/test/java/org/springframework/web/method/annotation/RequestParamMethodArgumentResolverTests.java
+31-8Lines changed: 31 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2012 the original author or authors.
2
+
* Copyright 2002-2013 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -49,6 +49,7 @@
49
49
importstaticorg.mockito.BDDMockito.*;
50
50
importstaticorg.mockito.Mockito.*;
51
51
52
+
52
53
/**
53
54
* Test fixture with {@link org.springframework.web.method.annotation.RequestParamMethodArgumentResolver}.
54
55
*
@@ -70,6 +71,7 @@ public class RequestParamMethodArgumentResolverTests {
70
71
privateMethodParameterparamServlet30Part;
71
72
privateMethodParameterparamRequestPartAnnot;
72
73
privateMethodParameterparamRequired;
74
+
privateMethodParameterparamNotRequired;
73
75
74
76
privateNativeWebRequestwebRequest;
75
77
@@ -81,8 +83,10 @@ public void setUp() throws Exception {
0 commit comments