Browse Source

Polishing

Issue: SPR-14470
pull/1196/head
Sebastien Deleuze 10 years ago
parent
commit
b2f0bdb0f4
  1. 2
      spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessorTests.java

2
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessorTests.java

@ -243,7 +243,7 @@ public class RequestResponseBodyMethodProcessorTests { @@ -243,7 +243,7 @@ public class RequestResponseBodyMethodProcessorTests {
@Test // SPR-14470
public void resolveParameterizedWithTypeVariableArgument() throws Exception {
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];
String content = "[{\"name\" : \"Jad\"}, {\"name\" : \"Robert\"}]";

Loading…
Cancel
Save