Upgrade build to Spring 5.0.0-BUILD-SNAPSHOT
* update bean validation API version
* MethodParameter now validates indices, see 39e3f2ebf6
* `getCharSet()` is now `getCharset()`
This commit is contained in:
@@ -154,7 +154,8 @@ public class RequestAttributeMethodArgumentResolverTests {
|
||||
@RequestAttribute Foo foo,
|
||||
@RequestAttribute("specialFoo") Foo namedFoo,
|
||||
@RequestAttribute(name="foo", required = false) Foo notRequiredFoo,
|
||||
@RequestAttribute(name="foo") Optional<Foo> optionalFoo) {
|
||||
@RequestAttribute(name="foo") Optional<Foo> optionalFoo,
|
||||
String notSupported) {
|
||||
}
|
||||
|
||||
private static class Foo {
|
||||
|
||||
@@ -161,7 +161,8 @@ public class SessionAttributeMethodArgumentResolverTests {
|
||||
@SessionAttribute Foo foo,
|
||||
@SessionAttribute("specialFoo") Foo namedFoo,
|
||||
@SessionAttribute(name="foo", required = false) Foo notRequiredFoo,
|
||||
@SessionAttribute(name="foo") Optional<Foo> optionalFoo) {
|
||||
@SessionAttribute(name="foo") Optional<Foo> optionalFoo,
|
||||
String notSupported) {
|
||||
}
|
||||
|
||||
private static class Foo {
|
||||
|
||||
Reference in New Issue
Block a user