fixed wrong self assignments for 'docBase' in Collector subclasses introduced in rev. 1058019

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1058076 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Simon Willnauer 2011-01-12 11:15:07 +00:00
parent e79fcaec7c
commit 76c3de6ece
7 changed files with 11 additions and 11 deletions

View File

@ -124,7 +124,7 @@ public class TestFieldNormModifier extends LuceneTestCase {
}
@Override
public void setNextReader(AtomicReaderContext context) {
this.docBase = docBase;
docBase = context.docBase;
}
@Override
public void setScorer(Scorer scorer) throws IOException {
@ -159,7 +159,7 @@ public class TestFieldNormModifier extends LuceneTestCase {
}
@Override
public void setNextReader(AtomicReaderContext context) {
this.docBase = docBase;
docBase = context.docBase;
}
@Override
public void setScorer(Scorer scorer) throws IOException {
@ -211,7 +211,7 @@ public class TestFieldNormModifier extends LuceneTestCase {
}
@Override
public void setNextReader(AtomicReaderContext context) {
this.docBase = docBase;
docBase = context.docBase;
}
@Override
public void setScorer(Scorer scorer) throws IOException {

View File

@ -141,7 +141,7 @@ public class TestLengthNormModifier extends LuceneTestCase {
}
@Override
public void setNextReader(AtomicReaderContext context) {
this.docBase = docBase;
docBase = context.docBase;
}
@Override
public void setScorer(Scorer scorer) throws IOException {
@ -183,7 +183,7 @@ public class TestLengthNormModifier extends LuceneTestCase {
}
@Override
public void setNextReader(AtomicReaderContext context) {
this.docBase = docBase;
docBase = context.docBase;
}
@Override
public void setScorer(Scorer scorer) throws IOException {

View File

@ -78,7 +78,7 @@ public class BooleanQueryTst {
@Override
public void setNextReader(AtomicReaderContext context) throws IOException {
this.docBase = docBase;
docBase = context.docBase;
}
@Override

View File

@ -448,7 +448,7 @@ public abstract class TopFieldCollector extends TopDocsCollector<Entry> {
@Override
public void setNextReader(AtomicReaderContext context) throws IOException {
this.docBase = context.docBase;
docBase = context.docBase;
for (int i = 0; i < comparators.length; i++) {
queue.setComparator(i, comparators[i].setNextReader(context));
}

View File

@ -416,7 +416,7 @@ public class TestOmitTf extends LuceneTestCase {
@Override
public void setNextReader(AtomicReaderContext context) {
this.docBase = docBase;
docBase = context.docBase;
}
@Override
public boolean acceptsDocsOutOfOrder() {

View File

@ -129,7 +129,7 @@ public class TestSubScorerFreqs extends LuceneTestCase {
@Override
public void setNextReader(AtomicReaderContext context)
throws IOException {
this.docBase = docBase;
docBase = context.docBase;
other.setNextReader(context);
}

View File

@ -167,8 +167,8 @@ public abstract class UpdateHandler implements SolrInfoMBean {
}
@Override
public void setNextReader(AtomicReaderContext arg0) throws IOException {
this.docBase = docBase;
public void setNextReader(AtomicReaderContext context) throws IOException {
docBase = context.docBase;
}
@Override