Changed method acquire() to not append(), to allow callers to decide
whether to append() or prepend the returned buffer.
This commit is contained in:
parent
29f8158b51
commit
7aeddff675
|
@ -70,7 +70,6 @@ public interface ByteBufferPool
|
|||
{
|
||||
ByteBuffer buffer = byteBufferPool.acquire(capacity, direct);
|
||||
BufferUtil.clearToFill(buffer);
|
||||
append(buffer, true);
|
||||
return buffer;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue