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:
Mark Robert Miller 2009-08-10 23:50:58 +00:00
parent 43a5bd6c19
commit cbfee9d814
1 changed files with 2 additions and 2 deletions

View File

@ -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}