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 2012/03/23 19:03:53 UTC
svn commit: r1304529 - in /commons/proper/net/trunk/src: changes/changes.xml
main/java/org/apache/commons/net/ftp/FTPClient.java
Author: sebb
Date: Fri Mar 23 18:03:52 2012
New Revision: 1304529
URL: http://svn.apache.org/viewvc?rev=1304529&view=rev
Log:
NET-450 Bug in documentation for FTPClient
Modified:
commons/proper/net/trunk/src/changes/changes.xml
commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java
Modified: commons/proper/net/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/changes/changes.xml?rev=1304529&r1=1304528&r2=1304529&view=diff
==============================================================================
--- commons/proper/net/trunk/src/changes/changes.xml (original)
+++ commons/proper/net/trunk/src/changes/changes.xml Fri Mar 23 18:03:52 2012
@@ -65,6 +65,9 @@ The <action> type attribute can be add,u
<release version="3.2" date="TBA" description="
TBA
">
+ <action issue="NET-450" dev="sebb" type="fix" due-to="Roger Hardiman">
+ Bug in documentation for FTPClient.
+ </action>
<action dev="sebb" type="add">
The examples can now be run using "java -jar commons-net-examples-m.n.jar".
This will automatically include the main net jar in the classpath.
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java?rev=1304529&r1=1304528&r2=1304529&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java Fri Mar 23 18:03:52 2012
@@ -192,7 +192,7 @@ import org.apache.commons.net.io.Util;
* FTPClient f = new FTPClient();
* f.connect(server);
* f.login(username, password);
- * FTPFile[] files = listFiles(directory);
+ * FTPFile[] files = f.listFiles(directory);
* </pre>
* <p>
* Paged access, using a parser not accessible by auto-detect. The class