netty5/buffer/src
Norman Maurer 95a75da00a CompositeByteBuf.nioBuffers(...) must not return an empty ByteBuffer array
Motivation:

CompositeByteBuf.nioBuffers(...) returns an empty ByteBuffer array if the specified length is 0. This is not consistent with other ByteBuf implementations which return an ByteBuffer array of size 1 with an empty ByteBuffer included.

Modifications:

Make CompositeByteBuf.nioBuffers(...) consistent with other ByteBuf implementations.

Result:

Consistent and correct behaviour of nioBufffers(...)
2014-12-22 11:18:57 +01:00
..
main/java/io/netty/buffer CompositeByteBuf.nioBuffers(...) must not return an empty ByteBuffer array 2014-12-22 11:18:57 +01:00
test/java/io/netty/buffer CompositeByteBuf.nioBuffers(...) must not return an empty ByteBuffer array 2014-12-22 11:18:57 +01:00