lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r802960 - /lucene/java/trunk/src/java/org/apache/lucene/analysis/TokenStream.java
Date Mon, 10 Aug 2009 23:50:58 GMT
Author: markrmiller
Date: Mon Aug 10 23:50:58 2009
New Revision: 802960

URL: http://svn.apache.org/viewvc?rev=802960&view=rev
Log:
fix javadoc that says Token is deprecated

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/analysis/TokenStream.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/analysis/TokenStream.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/analysis/TokenStream.java?rev=802960&r1=802959&r2=802960&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/analysis/TokenStream.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/analysis/TokenStream.java Mon Aug 10 23:50:58
2009
@@ -40,8 +40,8 @@
   <li>{@link TokenFilter}, a TokenStream
   whose input is another TokenStream.
   </ul>
-  A new TokenStream API is introduced with Lucene 2.9. Since
-  2.9 Token is deprecated and the preferred way to store
+  A new TokenStream API is introduced with Lucene 2.9. While Token still 
+  exists in 2.9 as a convenience class, the preferred way to store
   the information of a token is to use {@link AttributeImpl}s.
   <p>
   For that reason TokenStream extends {@link AttributeSource}



Mime
View raw message