You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Joern Kottmann (Commented) (JIRA)" <ji...@apache.org> on 2011/11/09 09:19:51 UTC

[jira] [Commented] (OPENNLP-366) Java5: generics to avoid casts

    [ https://issues.apache.org/jira/browse/OPENNLP-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146843#comment-13146843 ] 

Joern Kottmann commented on OPENNLP-366:
----------------------------------------

The loop in NameFinderTrainer should be re-factored instead to have a linear complexity instead of quadratic.
                
> Java5: generics to avoid casts
> ------------------------------
>
>                 Key: OPENNLP-366
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-366
>             Project: OpenNLP
>          Issue Type: Improvement
>    Affects Versions: tools-1.5.3-incubating, maxent-3.0.3-incubating
>            Reporter: Aliaksandr Autayeu
>            Priority: Minor
>              Labels: patch
>         Attachments: 0006-Java5-generics-extra-casts.patch
>
>
> In several places Java5 generics can be used to avoid casts and make the code safer and more readable

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