Remove not-needed call of ByteBuffer.clear(). See #161

This commit is contained in:
Norman Maurer 2012-01-24 20:47:30 +01:00
parent 245342d202
commit 6c68773ad4

View File

@ -50,7 +50,6 @@ final class SocketReceiveBufferPool {
}
ByteBuffer buf = ByteBuffer.allocateDirect(normalizeCapacity(size));
buf.clear();
return buf;
}