mina-ftpserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicklas Nordborg <nick...@thep.lu.se>
Subject Re: The User.getAuthorities(Class<Authority> clazz) method has a flaw
Date Thu, 29 May 2008 05:39:05 GMT
Nicklas Nordborg wrote:

> I think the proper solution is to change the method signature to:
> 
>    Authority[] getAuthorities(Class<? extends Authority> clazz);

Or maybe:

   <A extends Authority> A[] getAuthorities(Class<A> clazz);

/Nicklas

Mime
View raw message