LUCENE-1636: make TokenFilter.input final

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@777197 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2009-05-21 17:36:53 +00:00
parent 7c071d5c8e
commit 83e440bf6d
2 changed files with 4 additions and 1 deletions

View File

@ -135,6 +135,9 @@ API Changes
not make sense for all subclasses of MultiTermQuery. Check individual
subclasses to see if they support #getTerm(). (Mark Miller)
14. LUCENE-1636: Make TokenFilter.input final so it's set only
once. (Wouter Heijke, Uwe Schindler via Mike McCandless).
Bug fixes
1. LUCENE-1415: MultiPhraseQuery has incorrect hashCode() and equals()

View File

@ -35,7 +35,7 @@ import java.io.IOException;
*/
public abstract class TokenFilter extends TokenStream {
/** The source of tokens for this filter. */
protected TokenStream input;
protected final TokenStream input;
/** Construct a token stream filtering the given input. */
protected TokenFilter(TokenStream input) {