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

This commit is contained in:
Norman Maurer 2012-01-24 20:37:31 +01:00
parent e4fa180478
commit 12852a20fb

View File

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