mirror of https://github.com/apache/lucene.git
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:
parent
7c071d5c8e
commit
83e440bf6d
|
@ -135,6 +135,9 @@ API Changes
|
||||||
not make sense for all subclasses of MultiTermQuery. Check individual
|
not make sense for all subclasses of MultiTermQuery. Check individual
|
||||||
subclasses to see if they support #getTerm(). (Mark Miller)
|
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
|
Bug fixes
|
||||||
|
|
||||||
1. LUCENE-1415: MultiPhraseQuery has incorrect hashCode() and equals()
|
1. LUCENE-1415: MultiPhraseQuery has incorrect hashCode() and equals()
|
||||||
|
|
|
@ -35,7 +35,7 @@ import java.io.IOException;
|
||||||
*/
|
*/
|
||||||
public abstract class TokenFilter extends TokenStream {
|
public abstract class TokenFilter extends TokenStream {
|
||||||
/** The source of tokens for this filter. */
|
/** The source of tokens for this filter. */
|
||||||
protected TokenStream input;
|
protected final TokenStream input;
|
||||||
|
|
||||||
/** Construct a token stream filtering the given input. */
|
/** Construct a token stream filtering the given input. */
|
||||||
protected TokenFilter(TokenStream input) {
|
protected TokenFilter(TokenStream input) {
|
||||||
|
|
Loading…
Reference in New Issue