Clean up warnings in spring-test

This commit is contained in:
Sam Brannen
2017-03-28 20:06:42 +02:00
parent 0f0aa46e49
commit b053311306
3 changed files with 0 additions and 5 deletions

View File

@@ -43,7 +43,6 @@ import static org.junit.Assert.*;
public class WebTestClientConnectorTests {
@Test
@SuppressWarnings("deprecation")
public void captureAndClaim() throws Exception {
ClientHttpRequest request = new MockClientHttpRequest(HttpMethod.GET, "/test");
ClientHttpResponse response = new MockClientHttpResponse(HttpStatus.OK);

View File

@@ -146,7 +146,6 @@ public class ResponseEntityTests {
}
@GetMapping(produces = "text/event-stream")
@SuppressWarnings("deprecation")
Flux<Person> getPersonStream() {
return Flux.intervalMillis(100).onBackpressureBuffer(10).map(index -> new Person("N" + index));
}