DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30737>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30737

UnixFTPEntryParser returns null when timestamp is between 12:00am and 12:59am





------- Additional Comments From [EMAIL PROTECTED]  2004-09-14 21:08 -------
Returning null for a non-parsed entry is neither graceful degradation nor a
clear indication of the problem. The API of FTPClient.listFiles() does not
mention that it can return null entries, so it is not obvious why there are
holes in the returned array and why you run into NPEs.

I think you should either return a FTPFile where at least getRawListing() works
(with maybe an additional method getParseStatus() ) or you should state loud and
clear that there was a problem by throwing a ParserException.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to