commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1091810 - /commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java
Date Wed, 13 Apr 2011 14:57:19 GMT
Author: sebb
Date: Wed Apr 13 14:57:19 2011
New Revision: 1091810

URL: http://svn.apache.org/viewvc?rev=1091810&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=1091810&r1=1091809&r2=1091810&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:57:19
2011
@@ -292,7 +292,7 @@ __main:
             {
                 for (FTPFile f : ftp.mlistDir(remote)) {
                     System.out.println(f.getRawListing());
-                    System.out.println(f.toString());
+                    System.out.println(f.toFormattedString());
                 }
             }
             else if (mlst)



Mime
View raw message