LUCENE-5042: Reset the CharBuffer in TokenStream.reset().

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492257 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrien Grand 2013-06-12 15:59:00 +00:00
parent e021451d6c
commit 8334a8745b
1 changed files with 1 additions and 0 deletions

View File

@ -235,5 +235,6 @@ public class NGramTokenizer extends Tokenizer {
offset = 0;
gramSize = minGram;
exhausted = false;
charBuffer.reset();
}
}