You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-dev@incubator.apache.org by "Niklas Gustavsson (JIRA)" <ji...@apache.org> on 2006/10/24 20:46:06 UTC
[jira] Resolved: (FTPSERVER-49) Specific return type for
UserManager.getAllUserNames() not documented
[ http://issues.apache.org/jira/browse/FTPSERVER-49?page=all ]
Niklas Gustavsson resolved FTPSERVER-49.
----------------------------------------
Resolution: Fixed
Assignee: Niklas Gustavsson
I've changed the method signature so that it instead returns an array of Strings. This will make the return value strongly typed without the need for generics at this point.
Change is rev 467470.
> Specific return type for UserManager.getAllUserNames() not documented
> ---------------------------------------------------------------------
>
> Key: FTPSERVER-49
> URL: http://issues.apache.org/jira/browse/FTPSERVER-49
> Project: FtpServer
> Issue Type: Improvement
> Reporter: Clinton Foster
> Assigned To: Niklas Gustavsson
> Priority: Trivial
>
> UserManager.getAllUserNames() is declared as returning a Collection, but the comments do not specify that it is a collection of Strings. This is partially implied by the name of the method, but it would be helpful to explicitly specify this until the decision is made to exploit Java 1.5 generics in the source code.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira