lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r777197 - in /lucene/java/trunk: CHANGES.txt src/java/org/apache/lucene/analysis/TokenFilter.java
Date Thu, 21 May 2009 17:36:56 GMT
Author: mikemccand
Date: Thu May 21 17:36:53 2009
New Revision: 777197

URL: http://svn.apache.org/viewvc?rev=777197&view=rev
Log:
LUCENE-1636: make TokenFilter.input final

Modified:
    lucene/java/trunk/CHANGES.txt
    lucene/java/trunk/src/java/org/apache/lucene/analysis/TokenFilter.java

Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?rev=777197&r1=777196&r2=777197&view=diff
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Thu May 21 17:36:53 2009
@@ -135,6 +135,9 @@
     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()

Modified: lucene/java/trunk/src/java/org/apache/lucene/analysis/TokenFilter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/analysis/TokenFilter.java?rev=777197&r1=777196&r2=777197&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/analysis/TokenFilter.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/analysis/TokenFilter.java Thu May 21 17:36:53
2009
@@ -35,7 +35,7 @@
   */
 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) {



Mime
View raw message