[
https://issues.apache.org/jira/browse/LUCENE-4655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe Schindler closed LUCENE-4655.
---------------------------------
Resolution: Won't Fix
Assignee: Uwe Schindler
No need to fix anything. The mentioned API is only public for cross-package
usage, but marked as "internal". The Javadocs are copied from javacc.
> Documentation of the StandardTokenizerInterface getNextToken() return value
> ---------------------------------------------------------------------------
>
> Key: LUCENE-4655
> URL: https://issues.apache.org/jira/browse/LUCENE-4655
> Project: Lucene - Core
> Issue Type: Bug
> Components: general/javadocs
> Affects Versions: 4.0, 3.6.2
> Reporter: Juha Haaga
> Assignee: Uwe Schindler
> Priority: Minor
> Labels: docs
>
> Documentation of getNextToken() says that it returns an int, but incorrectly
> states that it returns the next token. getNextToken doesn't return the next
> token, it returns the numerical type of the next token that was found, as
> defined by constants in the implementing class. That is also useful
> information that can be taken advantage of in the filtering chain that
> follows.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]