Index: src/java/org/apache/lucene/analysis/Tokenizer.java =================================================================== --- src/java/org/apache/lucene/analysis/Tokenizer.java (revision 813395) +++ src/java/org/apache/lucene/analysis/Tokenizer.java (working copy) @@ -49,11 +49,6 @@ protected Tokenizer(Reader input) { this.input = CharReader.get(input); } - - /** Construct a token stream processing the given input. */ - protected Tokenizer(CharStream input) { - this.input = input; - } /** Construct a tokenizer with null input using the given AttributeFactory. */ protected Tokenizer(AttributeFactory factory) { @@ -65,12 +60,6 @@ super(factory); this.input = CharReader.get(input); } - - /** Construct a token stream processing the given input using the given AttributeFactory. */ - protected Tokenizer(AttributeFactory factory, CharStream input) { - super(factory); - this.input = input; - } /** Construct a token stream processing the given input using the given AttributeSource. */ protected Tokenizer(AttributeSource source) { @@ -83,12 +72,6 @@ this.input = CharReader.get(input); } - /** Construct a token stream processing the given input using the given AttributeSource. */ - protected Tokenizer(AttributeSource source, CharStream input) { - super(source); - this.input = input; - } - /** By default, closes the input Reader. */ public void close() throws IOException { input.close(); @@ -100,12 +83,5 @@ public void reset(Reader input) throws IOException { this.input = CharReader.get(input); } - - /** Expert: Reset the tokenizer to a new CharStream. Typically, an - * analyzer (in its reusableTokenStream method) will use - * this to re-use a previously created tokenizer. */ - public void reset(CharStream input) throws IOException { - this.input = input; - } }