Apache Lucene open-source search software
fix javadoc that says Token is deprecated
Mark Robert Millercbfee9d81486
diff --git a/src/java/org/apache/lucene/analysis/TokenStream.java b/src/java/org/apache/lucene/analysis/TokenStream.javaindex c2d724e67a1..e3fed5322fa 100644--- a/src/java/org/apache/lucene/analysis/TokenStream.java+++ b/src/java/org/apache/lucene/analysis/TokenStream.java@@ -40,8 +40,8 @@ import org.apache.lucene.util.AttributeSource;<li>{@link TokenFilter}, a TokenStreamwhose 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 storethe information of a token is to use {@link AttributeImpl}s.<p>For that reason TokenStream extends {@link AttributeSource}