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 GitHub
parent 6f2302cd4b
commit 0dd1346c23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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