Remove the deprecated constant field

Exposing the constant as a public static final field is usually not a
good idea because it gives less flexibility to us when we happen to
change our internal implementation.
This commit is contained in:
Trustin Lee 2014-02-20 11:38:49 -08:00
parent b2174fccc1
commit 5f62821b84

View File

@ -51,11 +51,7 @@ import static io.netty.handler.codec.http.HttpHeaders.*;
*/
public class HttpObjectAggregator extends MessageToMessageDecoder<HttpObject> {
/**
* @deprecated Will be removed in the next minor version bump.
*/
@Deprecated
public static final int DEFAULT_MAX_COMPOSITEBUFFER_COMPONENTS = 1024; // TODO: Make it private in the next bump.
private static final int DEFAULT_MAX_COMPOSITEBUFFER_COMPONENTS = 1024;
private static final InternalLogger logger = InternalLoggerFactory.getInstance(HttpObjectAggregator.class);