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 Wed, 14 Jun 2017 08:27:00 GMT

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

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

GitHub user britter opened a pull request:

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

    CLI-277: Add generics to TypeHandler

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/britter/commons-cli CLI-277

Alternatively you can review and apply these changes as the patch at:

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #13
    
----
commit c17d0ff553fd34e2e53e0446083ee284ee97f6cb
Author: Benedikt Ritter <britter@apache.org>
Date:   2017-06-14T08:25:32Z

    CLI-277: Add generics to TypeHandler

----


> 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