lucene 4: cleanup unused class

This commit is contained in:
Shay Banon 2012-10-28 23:52:57 +00:00
parent cdf1fc8981
commit 7b8ab2d685
1 changed files with 0 additions and 11 deletions

View File

@ -20,7 +20,6 @@
package org.elasticsearch.index.analysis; package org.elasticsearch.index.analysis;
import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.TokenStream;
import java.io.IOException; import java.io.IOException;
import java.io.Reader; import java.io.Reader;
@ -42,14 +41,4 @@ public abstract class NumericAnalyzer<T extends NumericTokenizer> extends Analyz
} }
protected abstract T createNumericTokenizer(Reader reader, char[] buffer) throws IOException; protected abstract T createNumericTokenizer(Reader reader, char[] buffer) throws IOException;
private static final class Holder {
final NumericTokenizer tokenizer;
final char[] buffer;
private Holder(NumericTokenizer tokenizer, char[] buffer) {
this.tokenizer = tokenizer;
this.buffer = buffer;
}
}
} }