commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1091811 - /commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java
Date Wed, 13 Apr 2011 14:58:57 GMT
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)



Mime
View raw message