You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2013/01/06 14:12:12 UTC

[jira] [Closed] (LUCENE-4655) Documentation of the StandardTokenizerInterface getNextToken() return value

     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org