Skip to content

Commit 7ffa845

Browse files
committed
Fix broken build
Add required `@Deprecated` annotation.
1 parent 09bd703 commit 7ffa845

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-web/src/main/java/org/springframework/http/client/Netty4ClientHttpRequestFactory.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public class Netty4ClientHttpRequestFactory implements ClientHttpRequestFactory,
5454
* @see #setMaxRequestSize(int)
5555
* @deprecated
5656
*/
57+
@Deprecated
5758
public static final int DEFAULT_MAX_REQUEST_SIZE = 1024 * 1024 * 10;
5859

5960
/**
@@ -107,6 +108,7 @@ public Netty4ClientHttpRequestFactory(EventLoopGroup eventLoopGroup) {
107108
* @deprecated as of 4.1.5 this property is no longer supported;
108109
* effectively renamed to {@link #setMaxResponseSize(int)}.
109110
*/
111+
@Deprecated
110112
public void setMaxRequestSize(int maxRequestSize) {
111113
this.maxRequestSize = maxRequestSize;
112114
}

0 commit comments

Comments
 (0)