Niklas Gustavsson wrote:
On Thu, Oct 9, 2008 at 7:43 PM, Andrea Francia <[EMAIL PROTECTED]> wrote:
FtpFile interface has this method:
/**
* List file objects. If not a directory or does not exist, null will be
* returned. Files must be returned in alphabetical order.
*/
FtpFile[] listFiles();
Why not:
List<FtpFile> listFiles();
This is a remain from before Java 1.5. I would be happy to make this change.
What about ?
Set<FtpFile> listFiles();
The same file could not be contained more than one time.
--
Andrea Francia
http://andreafrancia.blogspot.com/2008/07/colinux-linux-dentro-windows.html