Remove redundant index check
This commit is contained in:
parent
c5f6760c68
commit
1c73be21fc
@ -1078,9 +1078,6 @@ public class CompositeByteBuf extends AbstractReferenceCountedByteBuf {
|
|||||||
assert !freed;
|
assert !freed;
|
||||||
checkIndex(offset);
|
checkIndex(offset);
|
||||||
|
|
||||||
assert !freed;
|
|
||||||
checkIndex(offset);
|
|
||||||
|
|
||||||
for (int low = 0, high = components.size(); low <= high;) {
|
for (int low = 0, high = components.size(); low <= high;) {
|
||||||
int mid = low + high >>> 1;
|
int mid = low + high >>> 1;
|
||||||
Component c = components.get(mid);
|
Component c = components.get(mid);
|
||||||
|
Loading…
Reference in New Issue
Block a user