Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0
-
None
-
None
-
Win XP, JRE 1.5
Description
The 2.0 implementation of FTP.getReplyStrings() returns an array of null Strings instead of the actual reply text. Here is the current method:
String[] lines;
lines = new String[_replyLines.size()];
_replyLines.addAll(Arrays.asList(lines));
return lines;
I believe the correction is to replace the above code with something like:
return _replyLines.toArray(new String[0]);