Removed redundant assignment (#10853)

Motivation:

Found a redundant assignment.

Modification:

Removed the redundant assignment.

Result:

Minor performance improvement.
This commit is contained in:
terrarier2111 2020-12-10 10:29:16 +01:00 committed by Norman Maurer
parent ca7e3e0f66
commit 38e06ef7ae

View File

@ -61,7 +61,6 @@ public class ChunkedNioStream implements ChunkedInput<ByteBuf> {
" (expected: a positive integer)");
}
this.in = in;
offset = 0;
this.chunkSize = chunkSize;
byteBuffer = ByteBuffer.allocate(chunkSize);
}