Changed object pool so the responsibility to specify parameters after pool.take() is to the implementation, not the objectpool

This commit is contained in:
nathan 2014-11-16 15:30:25 +01:00
parent a6c9eb405a
commit d647d23829

View File

@ -255,6 +255,7 @@ public class InputConsole {
ObjectPoolHolder<ByteBuffer2> holder = this.pool.take();
buffer = holder.getValue();
buffer.clear();
this.readBuff.set(holder);
this.readBuffers.add(holder);
} else {