Browse Source

Fix broken build

Add required  `@Deprecated` annotation.
pull/737/head
Stephane Nicoll 11 years ago
parent
commit
7ffa845aa8
  1. 2
      spring-web/src/main/java/org/springframework/http/client/Netty4ClientHttpRequestFactory.java

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

@ -54,6 +54,7 @@ public class Netty4ClientHttpRequestFactory implements ClientHttpRequestFactory,
* @see #setMaxRequestSize(int) * @see #setMaxRequestSize(int)
* @deprecated * @deprecated
*/ */
@Deprecated
public static final int DEFAULT_MAX_REQUEST_SIZE = 1024 * 1024 * 10; public static final int DEFAULT_MAX_REQUEST_SIZE = 1024 * 1024 * 10;
/** /**
@ -107,6 +108,7 @@ public class Netty4ClientHttpRequestFactory implements ClientHttpRequestFactory,
* @deprecated as of 4.1.5 this property is no longer supported; * @deprecated as of 4.1.5 this property is no longer supported;
* effectively renamed to {@link #setMaxResponseSize(int)}. * effectively renamed to {@link #setMaxResponseSize(int)}.
*/ */
@Deprecated
public void setMaxRequestSize(int maxRequestSize) { public void setMaxRequestSize(int maxRequestSize) {
this.maxRequestSize = maxRequestSize; this.maxRequestSize = maxRequestSize;
} }

Loading…
Cancel
Save