From 819097a07a9ccc5d609ce00e456952318985cdb5 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 22 May 2019 14:48:40 +0200 Subject: [PATCH] Clean up warning in Gradle build --- .../http/client/AbstractHttpRequestFactoryTestCase.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-web/src/test/java/org/springframework/http/client/AbstractHttpRequestFactoryTestCase.java b/spring-web/src/test/java/org/springframework/http/client/AbstractHttpRequestFactoryTestCase.java index a784192658..1b13571779 100644 --- a/spring-web/src/test/java/org/springframework/http/client/AbstractHttpRequestFactoryTestCase.java +++ b/spring-web/src/test/java/org/springframework/http/client/AbstractHttpRequestFactoryTestCase.java @@ -132,6 +132,7 @@ public abstract class AbstractHttpRequestFactoryTestCase extends AbstractMockWeb } @Test + @SuppressWarnings("try") public void headersAfterExecute() throws Exception { ClientHttpRequest request = factory.createRequest(new URI(baseUrl + "/status/ok"), HttpMethod.POST);