Fix checkstyle
This commit is contained in:
parent
88df53ec1a
commit
303f83043b
@ -81,7 +81,7 @@ final class PooledHeapByteBuf extends PooledByteBuf<byte[]> {
|
||||
checkDstIndex(index, length, dstIndex, dst.capacity());
|
||||
if (dst.hasMemoryAddress()) {
|
||||
PlatformDependent.copyMemory(memory, idx(index), dst.memoryAddress() + dstIndex, length);
|
||||
} if (dst.hasArray()) {
|
||||
} else if (dst.hasArray()) {
|
||||
getBytes(index, dst.array(), dst.arrayOffset() + dstIndex, length);
|
||||
} else {
|
||||
dst.setBytes(dstIndex, memory, idx(index), length);
|
||||
|
Loading…
Reference in New Issue
Block a user