Browse Source

Delete dead code

pull/23645/head
Sam Brannen 7 years ago
parent
commit
e7b2c93ede
  1. 7
      spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java

7
spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java

@ -31,7 +31,6 @@ import java.util.Arrays; @@ -31,7 +31,6 @@ import java.util.Arrays;
import java.util.List;
import java.util.function.Consumer;
import java.util.stream.Stream;
import java.util.zip.CRC32;
import okhttp3.mockwebserver.MockResponse;
import okhttp3.mockwebserver.MockWebServer;
@ -672,12 +671,6 @@ class WebClientIntegrationTests { @@ -672,12 +671,6 @@ class WebClientIntegrationTests {
});
}
private static long hash(byte[] bytes) {
CRC32 crc = new CRC32();
crc.update(bytes, 0, bytes.length);
return crc.getValue();
}
@ParameterizedWebClientTest
void shouldReceive404Response(ClientHttpConnector connector) {
startServer(connector);

Loading…
Cancel
Save