Fix checkstyle

This commit is contained in:
Trustin Lee 2013-03-06 18:23:08 +09:00
parent 88df53ec1a
commit 303f83043b

View File

@ -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);