Skip to content

Commit 17b2edd

Browse files
committed
Fix checkstyle violations
See gh-43422
1 parent 12dbe80 commit 17b2edd

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/client

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/client/TestRestTemplate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ boolean isPresent(HttpClientOption[] options) {
10811081
*
10821082
* @deprecated since 3.5.0 for removal in 4.0.0
10831083
*/
1084-
@Deprecated
1084+
@Deprecated(since = "3.5.0", forRemoval = true)
10851085
protected static class CustomHttpComponentsClientHttpRequestFactory extends HttpComponentsClientHttpRequestFactory {
10861086

10871087
private final String cookieSpec;
@@ -1178,7 +1178,7 @@ protected RequestConfig createRequestConfig() {
11781178
* Factory used to create a {@link TlsSocketStrategy} supporting self-signed
11791179
* certificates.
11801180
*/
1181-
private static class SelfSignedTlsSocketStrategyFactory implements Function<SslBundle, TlsSocketStrategy> {
1181+
private static final class SelfSignedTlsSocketStrategyFactory implements Function<SslBundle, TlsSocketStrategy> {
11821182

11831183
private static final String[] SUPPORTED_PROTOCOLS = { TLS.V_1_3.getId(), TLS.V_1_2.getId() };
11841184

0 commit comments

Comments
 (0)