Browse Source

Polishing

pull/833/head
Sam Brannen 11 years ago
parent
commit
ea0c37a535
  1. 3
      spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/AsyncTests.java

3
spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/AsyncTests.java

@ -29,7 +29,6 @@ import org.springframework.http.MediaType; @@ -29,7 +29,6 @@ import org.springframework.http.MediaType;
import org.springframework.test.web.Person;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.MvcResult;
import org.springframework.ui.Model;
import org.springframework.util.concurrent.ListenableFuture;
import org.springframework.util.concurrent.ListenableFutureTask;
import org.springframework.web.bind.annotation.ExceptionHandler;
@ -181,7 +180,7 @@ public class AsyncTests { @@ -181,7 +180,7 @@ public class AsyncTests {
@RequestMapping(params = "callable")
public Callable<Person> getCallable(final Model model) {
public Callable<Person> getCallable() {
return () -> new Person("Joe");
}

Loading…
Cancel
Save