Remove redundant index check

This commit is contained in:
Norman Maurer 2013-10-08 07:21:01 +02:00
parent c5f6760c68
commit 1c73be21fc

View File

@ -1078,9 +1078,6 @@ public class CompositeByteBuf extends AbstractReferenceCountedByteBuf {
assert !freed;
checkIndex(offset);
assert !freed;
checkIndex(offset);
for (int low = 0, high = components.size(); low <= high;) {
int mid = low + high >>> 1;
Component c = components.get(mid);