LUCENE-2858: Rename slow to be consistent with naming

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237289 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2012-01-29 13:47:01 +00:00
parent a456d7e112
commit 2c92a3ce87
1 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ import org.apache.lucene.index.MultiReader; // javadoc
* yourself.</p>
*/
public final class SlowMultiReaderWrapper extends AtomicIndexReader {
public final class SlowCompositeReaderWrapper extends AtomicIndexReader {
private final CompositeIndexReader in;
private final Map<String, DocValues> normsCache = new HashMap<String, DocValues>();
@ -63,14 +63,14 @@ public final class SlowMultiReaderWrapper extends AtomicIndexReader {
*/
public static AtomicIndexReader wrap(IndexReader reader) throws IOException {
if (reader instanceof CompositeIndexReader) {
return new SlowMultiReaderWrapper((CompositeIndexReader) reader);
return new SlowCompositeReaderWrapper((CompositeIndexReader) reader);
} else {
assert reader instanceof AtomicIndexReader;
return (AtomicIndexReader) reader;
}
}
public SlowMultiReaderWrapper(CompositeIndexReader reader) throws IOException {
public SlowCompositeReaderWrapper(CompositeIndexReader reader) throws IOException {
super();
in = reader;
fields = MultiFields.getFields(in);
@ -79,7 +79,7 @@ public final class SlowMultiReaderWrapper extends AtomicIndexReader {
@Override
public String toString() {
return "SlowMultiReaderWrapper(" + in + ")";
return "SlowCompositeReaderWrapper(" + in + ")";
}
@Override