Skip to content

Commit b4ba61b

Browse files
committed
Fix checkstyle in HttpObjectDecoder
1 parent 977661f commit b4ba61b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectDecoder.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -861,10 +861,9 @@ private State readHeaders(ByteBuf buffer) {
861861
// We only need to validate if we have more then the chunked value length contained as otherwise
862862
// we know it is only chunked.
863863
if (vLen > chunkedValueLength && !AsciiString.regionMatches(v, true, vLen - chunkedValueLength,
864-
HttpHeaderValues.CHUNKED,0, chunkedValueLength)) {
864+
HttpHeaderValues.CHUNKED, 0, chunkedValueLength)) {
865865
throw new IllegalArgumentException(
866866
"chunked must be the last encoding present in the Transfer-Encoding header");
867-
868867
}
869868
if (!contentLengthFields.isEmpty()) {
870869
handleTransferEncodingChunkedWithContentLength(message);

0 commit comments

Comments
 (0)