You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Aliaksandr Autayeu (Created) (JIRA)" <ji...@apache.org> on 2011/11/09 00:29:53 UTC

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

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

        

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

Posted by "Aliaksandr Autayeu (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aliaksandr Autayeu closed OPENNLP-366.
--------------------------------------

    
> 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
>            Assignee: Joern Kottmann
>            Priority: Minor
>              Labels: patch
>             Fix For: tools-1.5.3-incubating
>
>         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

        

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

Posted by "Joern Kottmann (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joern Kottmann resolved OPENNLP-366.
------------------------------------

       Resolution: Fixed
    Fix Version/s: tools-1.5.3-incubating
         Assignee: Joern Kottmann

Thanks. Patch applied.
                
> 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
>            Assignee: Joern Kottmann
>            Priority: Minor
>              Labels: patch
>             Fix For: tools-1.5.3-incubating
>
>         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

        

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

Posted by "Joern Kottmann (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Aliaksandr Autayeu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aliaksandr Autayeu updated OPENNLP-366:
---------------------------------------

    Attachment: 0006-Java5-generics-extra-casts.patch
    
> 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