Skip to content

Commit af3a26a

Browse files
committed
Clean up warnings in Gradle build
1 parent 1cecf52 commit af3a26a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ static Stream<HttpMethod> safeHttpMethods() {
182182
return Stream.of(HttpMethod.GET, HttpMethod.OPTIONS, HttpMethod.TRACE);
183183
}
184184

185+
@SuppressWarnings("deprecation")
185186
private RequestConfig retrieveRequestConfig(HttpComponentsClientHttpRequestFactory factory) throws Exception {
186187
URI uri = URI.create(baseUrl + "/status/ok");
187188
HttpComponentsClientHttpRequest request = (HttpComponentsClientHttpRequest)

0 commit comments

Comments
 (0)