You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2011/04/13 16:58:57 UTC
svn commit: r1091811 -
/commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java
Author: sebb
Date: Wed Apr 13 14:58:57 2011
New Revision: 1091811
URL: http://svn.apache.org/viewvc?rev=1091811&view=rev
Log:
toString() is same as raw; so show formatted output instead
Modified:
commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java
Modified: commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java?rev=1091811&r1=1091810&r2=1091811&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java (original)
+++ commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java Wed Apr 13 14:58:57 2011
@@ -299,7 +299,7 @@ __main:
{
FTPFile f = ftp.mlistFile(remote);
if (f != null){
- System.out.println(f.toString());
+ System.out.println(f.toFormattedString());
}
}
else if (listNames)