You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Niklas Gustavsson (JIRA)" <ji...@apache.org> on 2009/02/14 22:53:59 UTC
[jira] Updated: (FTPSERVER-274) Use Wildcard-Generics in API where
possible and plausible
[ https://issues.apache.org/jira/browse/FTPSERVER-274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson updated FTPSERVER-274:
----------------------------------------
Fix Version/s: (was: 1.0.0)
1.1
Rescheduling to 1.1, I don't think this has priority for 1.0.0. Please complain if you think it does.
> Use Wildcard-Generics in API where possible and plausible
> ---------------------------------------------------------
>
> Key: FTPSERVER-274
> URL: https://issues.apache.org/jira/browse/FTPSERVER-274
> Project: FtpServer
> Issue Type: Improvement
> Affects Versions: 1.0.0-RC2
> Reporter: Steve Ulrich
> Fix For: 1.1
>
>
> Currently the API doesn't make use of wildcard generic types.
> Example FtpFile:
> public abstract List<FtpFile> listFiles();
> The used generic for the return type prevents users from returning lists with their own type (ie: List<MyFtpFile>).
> A change to:
> public abstract List<? extends FtpFile> listFiles();
> Would allow this without any costs (or I just can't see them *g*)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.