Browse Source

Clean up warning in Gradle build

pull/23019/head
Sam Brannen 6 years ago
parent
commit
819097a07a
  1. 1
      spring-web/src/test/java/org/springframework/http/client/AbstractHttpRequestFactoryTestCase.java

1
spring-web/src/test/java/org/springframework/http/client/AbstractHttpRequestFactoryTestCase.java

@ -132,6 +132,7 @@ public abstract class AbstractHttpRequestFactoryTestCase extends AbstractMockWeb
} }
@Test @Test
@SuppressWarnings("try")
public void headersAfterExecute() throws Exception { public void headersAfterExecute() throws Exception {
ClientHttpRequest request = factory.createRequest(new URI(baseUrl + "/status/ok"), HttpMethod.POST); ClientHttpRequest request = factory.createRequest(new URI(baseUrl + "/status/ok"), HttpMethod.POST);

Loading…
Cancel
Save