Apache Solr open-source search software
LUCENE-4529: don't need to null first buffer ... it's done by Arrays.fill above
Michael McCandless463a478a1155
diff --git a/lucene/core/src/java/org/apache/lucene/util/ByteBlockPool.java b/lucene/core/src/java/org/apache/lucene/util/ByteBlockPool.javaindex 3b45f5c88f9..758c31265fe 100644--- a/lucene/core/src/java/org/apache/lucene/util/ByteBlockPool.java+++ b/lucene/core/src/java/org/apache/lucene/util/ByteBlockPool.java@@ -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;diff --git a/lucene/core/src/java/org/apache/lucene/util/IntBlockPool.java b/lucene/core/src/java/org/apache/lucene/util/IntBlockPool.javaindex 28ff1f055e6..6e0f807e29a 100644--- a/lucene/core/src/java/org/apache/lucene/util/IntBlockPool.java+++ b/lucene/core/src/java/org/apache/lucene/util/IntBlockPool.java@@ -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;