You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Piotr Iwaniuk (Closed) (JIRA)" <ji...@apache.org> on 2012/04/05 15:07:25 UTC

[jira] [Closed] (OPENNLP-492) Method getTokensOrderedByFrequency in POSTaggerFineGrainedReportListener probably has a typo.

     [ https://issues.apache.org/jira/browse/OPENNLP-492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Piotr Iwaniuk closed OPENNLP-492.
---------------------------------

    
> Method getTokensOrderedByFrequency in POSTaggerFineGrainedReportListener probably has a typo.
> ---------------------------------------------------------------------------------------------
>
>                 Key: OPENNLP-492
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-492
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: Command Line Interface, POS Tagger
>            Reporter: Piotr Iwaniuk
>            Assignee: William Colen
>            Priority: Minor
>              Labels: patch, typesystem, typo
>             Fix For: tools-1.5.3
>
>
> Checking the code with FindBugs warned about calling equals between object of different classes (variable o1 and number 02). It seems to be a sneaky typo. Looking at the rest of the code, it shouldn't change result of comparison, but may reduce performance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira