commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLI-277) Add generics to TypeHandler
Date Thu, 15 Jun 2017 11:24:02 GMT

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

Benedikt Ritter resolved CLI-277.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5

> 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
>             Fix For: 1.5
>
>
> 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