Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

move from FQCN to import

Erik Hatcherb708ac392eed
diff --git a/src/java/org/apache/lucene/analysis/CharTokenizer.java b/src/java/org/apache/lucene/analysis/CharTokenizer.java
index f543f70ba3c..db696741299 100644
--- a/src/java/org/apache/lucene/analysis/CharTokenizer.java
+++ b/src/java/org/apache/lucene/analysis/CharTokenizer.java
@@ -16,6 +16,7 @@ package org.apache.lucene.analysis;
* limitations under the License.
*/
+import java.io.IOException;
import java.io.Reader;
/** An abstract base class for simple, character-oriented tokenizers.*/
@@ -44,7 +45,7 @@ public abstract class CharTokenizer extends Tokenizer {
}
/** Returns the next token in the stream, or null at EOS. */
- public final Token next() throws java.io.IOException {
+ public final Token next() throws IOException {
int length = 0;
int start = offset;
while (true) {