mirror of https://github.com/apache/lucene.git
LUCENE-4529: don't need to null first buffer ... it's done by Arrays.fill above
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405433 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c870977ba2
commit
463a478a11
|
@ -181,7 +181,6 @@ public final class ByteBlockPool {
|
|||
buffer = buffers[0];
|
||||
} else {
|
||||
bufferUpto = -1;
|
||||
buffers[0] = null;
|
||||
byteUpto = BYTE_BLOCK_SIZE;
|
||||
byteOffset = -BYTE_BLOCK_SIZE;
|
||||
buffer = null;
|
||||
|
|
|
@ -133,7 +133,6 @@ public final class IntBlockPool {
|
|||
buffer = buffers[0];
|
||||
} else {
|
||||
bufferUpto = -1;
|
||||
buffers[0] = null;
|
||||
intUpto = INT_BLOCK_SIZE;
|
||||
intOffset = -INT_BLOCK_SIZE;
|
||||
buffer = null;
|
||||
|
|
Loading…
Reference in New Issue