commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DISCOVERY-14) Move to Java5 generics
Date Tue, 05 Apr 2011 10:06:05 GMT

     [ 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&lt;? extends LogFactory&gt; 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

Mime
View raw message