Remove not-needed call of ByteBuffer.clear(). See #161
This commit is contained in:
parent
245342d202
commit
6c68773ad4
@ -50,7 +50,6 @@ final class SocketReceiveBufferPool {
|
||||
}
|
||||
|
||||
ByteBuffer buf = ByteBuffer.allocateDirect(normalizeCapacity(size));
|
||||
buf.clear();
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user