[
https://issues.apache.org/jira/browse/NET-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010505#comment-13010505
]
Sebb commented on NET-390:
--------------------------
The original Javadoc says
{quote}
Returns a string representation of the FTPFile information. This
will be the raw FTP server listing that was used to initialize the
FTPFile instance.
{quote}
I read the first sentence as meaning that the representation is not fixed - it
is "*a* representation".
I read the second sentence as meaning that the raw listing is the current
representation.
But I take your point that some may have relied on the original implementation.
> FTPFile.toString() should return formatted version of its fields, not the
> unformatted original
> ----------------------------------------------------------------------------------------------
>
> Key: NET-390
> URL: https://issues.apache.org/jira/browse/NET-390
> Project: Commons Net
> Issue Type: Improvement
> Components: FTP
> Reporter: Sebb
> Fix For: 3.0
>
>
> The toString() method in FTPFile currently returns the unformatted original
> string, which is not very useful.
> It should return a String created from the parsed fields.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira