From 93b9adc280f87188efa24ed337ca9457c2fac360 Mon Sep 17 00:00:00 2001 From: Doron Cohen Date: Wed, 26 Dec 2007 09:21:46 +0000 Subject: [PATCH] LUCENE-1099: Make Tokenizer.reset(Reader) public. git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606865 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/lucene/analysis/Tokenizer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/lucene/analysis/Tokenizer.java b/src/java/org/apache/lucene/analysis/Tokenizer.java index 83b3b46d539..7208ed9b9a0 100644 --- a/src/java/org/apache/lucene/analysis/Tokenizer.java +++ b/src/java/org/apache/lucene/analysis/Tokenizer.java @@ -44,10 +44,10 @@ public abstract class Tokenizer extends TokenStream { input.close(); } - /** Reset the tokenizer to a new reader. Typically, an + /** Expert: Reset the tokenizer to a new reader. Typically, an * analyzer (in its reusableTokenStream method) will use * this to re-use a previously created tokenizer. */ - protected void reset(Reader input) throws IOException { + public void reset(Reader input) throws IOException { this.input = input; } }