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

Simone Tripodi resolved DISCOVERY-14.
-------------------------------------

    Resolution: Fixed

fixed in /trunk

> Move to Java5 generics
> ----------------------
>
>                 Key: DISCOVERY-14
>                 URL: https://issues.apache.org/jira/browse/DISCOVERY-14
>             Project: Commons Discovery
>          Issue Type: Improvement
>    Affects Versions: 0.5
>            Reporter: Simone Tripodi
>            Assignee: Simone Tripodi
>             Fix For: 0.5
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> Discovery code should be moved to Java5 Generics to simplify clients usage, 
> i.e. 
> {code}
> LogFactory logFactory = DiscoverSingleton.find(LogFactory.class);
> {code}
> or
> DiscoverClass discoverClass = new DiscoverClass();
> Class<? extends LogFactory> logFactoryClass = 
> discoverClass.find(LogFactory.class);
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to