netty5/buffer/src
Nick Hill ea2e4a7b3d De-duplicate PooledByteBuf implementations (#9120)
Motivation

There's quite a lot of duplicate/equivalent logic across the various
concrete ByteBuf implementations. We could take this even further but
for now I've focused on the PooledByteBuf sub-hierarchy.

Modifications

- Move common logic/methods into existing PooledByteBuf abstract
superclass
- Shorten PooledByteBuf.capacity(int) method implementation

Result

Less code to maintain
2019-06-19 20:50:57 +02:00
..
main/java/io/netty/buffer De-duplicate PooledByteBuf implementations (#9120) 2019-06-19 20:50:57 +02:00
test/java/io/netty/buffer Introduce ByteBuf.maxFastWritableBytes() method (#9086) 2019-05-22 20:11:56 +02:00