mirror of https://github.com/apache/lucene.git
fix javadoc that says Token is deprecated
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802960 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
43a5bd6c19
commit
cbfee9d814
|
@ -40,8 +40,8 @@ import org.apache.lucene.util.AttributeSource;
|
|||
<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}
|
||||
|
|
Loading…
Reference in New Issue