commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLI-277) Add generics to TypeHandler
Date Thu, 15 Jun 2017 11:19:00 GMT

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

ASF GitHub Bot commented on CLI-277:
------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/commons-cli/pull/13


> Add generics to TypeHandler
> ---------------------------
>
>                 Key: CLI-277
>                 URL: https://issues.apache.org/jira/browse/CLI-277
>             Project: Commons CLI
>          Issue Type: Improvement
>            Reporter: Benedikt Ritter
>            Assignee: Benedikt Ritter
>
> TypeHandler currently works on Object. Since we pass the class class of the return value,
we can add generics. This way we don't need to cast the returned value explicitly.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message