netty5/buffer/src
Trustin Lee 57063b6db0 Implement the ByteBuf methods that should have been overridden
Motivation:

Some ByteBuf implementations do not override all necessary methods,
which can lead to potentially sub-optimal behavior.

Also, SlicedByteBuf does not perform the range check correctly due to
missing overrides.

Modifications:

- Add missing overrides
- Use unwrap() instead of direct member access in derived buffers for
  consistency
- Merge unwrap0() into unwrap() using covariant return type
- Deprecate AbstractDerivedByteBuf and its subtypes, because they were
  not meant to be public

Result:

Correctness
2016-04-13 21:05:57 +09:00
..
main/java/io/netty/buffer Implement the ByteBuf methods that should have been overridden 2016-04-13 21:05:57 +09:00
test/java/io/netty/buffer ByteBuf.readBytes(...) should use the allocator of the buffer to create the new buffer. Related to [#5093] 2016-04-09 20:28:17 +02:00