Polishing
Issue: SPR-14470
This commit is contained in:
@@ -243,7 +243,7 @@ public class RequestResponseBodyMethodProcessorTests {
|
|||||||
@Test // SPR-14470
|
@Test // SPR-14470
|
||||||
public void resolveParameterizedWithTypeVariableArgument() throws Exception {
|
public void resolveParameterizedWithTypeVariableArgument() throws Exception {
|
||||||
Method method = MyParameterizedControllerWithList.class.getMethod("handleDto", List.class);
|
Method method = MyParameterizedControllerWithList.class.getMethod("handleDto", List.class);
|
||||||
HandlerMethod handlerMethod = new HandlerMethod(new MySimpleParameterizedController(), method);
|
HandlerMethod handlerMethod = new HandlerMethod(new MySimpleParameterizedControllerWithList(), method);
|
||||||
MethodParameter methodParam = handlerMethod.getMethodParameters()[0];
|
MethodParameter methodParam = handlerMethod.getMethodParameters()[0];
|
||||||
|
|
||||||
String content = "[{\"name\" : \"Jad\"}, {\"name\" : \"Robert\"}]";
|
String content = "[{\"name\" : \"Jad\"}, {\"name\" : \"Robert\"}]";
|
||||||
|
|||||||
Reference in New Issue
Block a user