netty5/buffer/src
Trustin Lee 0b8f47da04 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:52:57 +09:00
..
main/java/io/netty/buffer Implement internal memory access methods of CompositeByteBuf correctly 2014-12-30 15:52:57 +09:00
test/java/io/netty/buffer Add more tests to EmptyByteBufTest 2014-12-30 15:50:49 +09:00