From 39c2ae5268b0b459fe32ae091e2e30eb8bf1f93f Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Sat, 10 Dec 2011 16:50:54 +0000 Subject: [PATCH] remove dead code git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212825 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/lucene/index/MultiFieldsEnum.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lucene/src/java/org/apache/lucene/index/MultiFieldsEnum.java b/lucene/src/java/org/apache/lucene/index/MultiFieldsEnum.java index 79757a83a32..7db5f02fac5 100644 --- a/lucene/src/java/org/apache/lucene/index/MultiFieldsEnum.java +++ b/lucene/src/java/org/apache/lucene/index/MultiFieldsEnum.java @@ -17,7 +17,6 @@ package org.apache.lucene.index; * limitations under the License. */ -import org.apache.lucene.index.values.MultiIndexDocValues; import org.apache.lucene.util.PriorityQueue; import org.apache.lucene.util.ReaderUtil; @@ -39,14 +38,9 @@ public final class MultiFieldsEnum extends FieldsEnum { // Holds sub-readers containing field we are currently // on, popped from queue. private final FieldsEnumWithSlice[] top; - private final FieldsEnumWithSlice[] enumWithSlices; private int numTop; - // Re-used TermsEnum - private final MultiTermsEnum terms; - private final MultiIndexDocValues docValues; - private final Fields fields; private String currentField; @@ -55,9 +49,7 @@ public final class MultiFieldsEnum extends FieldsEnum { * (ie, {@link FieldsEnum#next} has not been called. */ public MultiFieldsEnum(MultiFields fields, FieldsEnum[] subs, ReaderUtil.Slice[] subSlices) throws IOException { this.fields = fields; - terms = new MultiTermsEnum(subSlices); queue = new FieldMergeQueue(subs.length); - docValues = new MultiIndexDocValues(); top = new FieldsEnumWithSlice[subs.length]; List enumWithSlices = new ArrayList(); @@ -73,8 +65,6 @@ public final class MultiFieldsEnum extends FieldsEnum { queue.add(sub); } } - this.enumWithSlices = enumWithSlices.toArray(FieldsEnumWithSlice.EMPTY_ARRAY); - } @Override