Removed redundant assignment (#10853)
Motivation: Found a redundant assignment. Modification: Removed the redundant assignment. Result: Minor performance improvement.
This commit is contained in:
parent
6f2302cd4b
commit
0dd1346c23
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user