[Clean] Remove useless code (#11154)

Motivation:
There is an unused field

Modifications:
Remove useless code

Result:
Code cleanup

Co-authored-by: xingrufei <xingrufei@sogou-inc.com>
This commit is contained in:
skyguard1 2021-04-19 16:09:40 +08:00 committed by Norman Maurer
parent d1b896b701
commit 5cdfd57298

View File

@ -29,7 +29,6 @@ import io.netty.util.ByteProcessor;
import io.netty.util.internal.AppendableCharSequence;
import java.util.List;
import java.util.regex.Pattern;
/**
* Decodes {@link ByteBuf}s into {@link HttpMessage}s and
@ -121,7 +120,6 @@ public abstract class HttpObjectDecoder extends ByteToMessageDecoder {
public static final boolean DEFAULT_ALLOW_DUPLICATE_CONTENT_LENGTHS = false;
private static final String EMPTY_VALUE = "";
private static final Pattern COMMA_PATTERN = Pattern.compile(",");
private final boolean chunkedSupported;
protected final boolean validateHeaders;