Suppress warnings in Gradle build

This commit is contained in:
Sam Brannen 2025-11-10 14:13:34 +01:00
parent ddb45a9302
commit 1714a00492
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ class HttpComponentsClientHttpRequestFactoryTests extends AbstractHttpRequestFac
}
@Test
@SuppressWarnings("removal")
@SuppressWarnings({ "removal", "deprecation" })
void assertCustomConfig() throws Exception {
HttpClient httpClient = HttpClientBuilder.create().build();
HttpComponentsClientHttpRequestFactory hrf = new HttpComponentsClientHttpRequestFactory(httpClient);
@ -103,7 +103,7 @@ class HttpComponentsClientHttpRequestFactoryTests extends AbstractHttpRequestFac
}
@Test
@SuppressWarnings("removal")
@SuppressWarnings({ "removal", "deprecation" })
void localSettingsOverrideClientDefaultSettings() throws Exception {
RequestConfig defaultConfig = RequestConfig.custom()
.setConnectTimeout(1234, MILLISECONDS)