netty5/buffer/src
Trustin Lee 155c0e2f36 Implement internal memory access methods of CompositeByteBuf correctly
Motivation:

When a CompositeByteBuf is empty (i.e. has no component), its internal
memory access operations do not always behave as expected.

Modifications:

Check if the nunmber of components is zero. If so, return an empty
array or an empty NIO buffer, etc.

Result:

More robustness
2014-12-30 15:56:53 +09:00
..
main/java/io/netty/buffer Implement internal memory access methods of CompositeByteBuf correctly 2014-12-30 15:56:53 +09:00
test/java/io/netty/buffer Add more tests to EmptyByteBufTest 2014-12-30 15:51:45 +09:00