" " -> " " / Cleanup
This commit is contained in:
parent
5b978497f8
commit
9396246fe9
@ -980,7 +980,9 @@ public class DefaultCompositeByteBuf extends AbstractReferenceCountedByteBuf imp
|
||||
return components.get(0).buf.nioBufferCount();
|
||||
} else {
|
||||
int count = 0;
|
||||
for (int i = 0; i < components.size(); i++) {
|
||||
int componentsCount = components.size();
|
||||
//noinspection ForLoopReplaceableByForEach
|
||||
for (int i = 0; i < componentsCount; i++) {
|
||||
Component c = components.get(i);
|
||||
count += c.buf.nioBufferCount();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user