Author: rwinston Date: Sat Apr 25 21:25:26 2009 New Revision: 768603 URL: http://svn.apache.org/viewvc?rev=768603&view=rev Log: NET-275: Fix examples
Modified: commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPClient.java Modified: commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPClient.java URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPClient.java?rev=768603&r1=768602&r2=768603&view=diff ============================================================================== --- commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPClient.java (original) +++ commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPClient.java Sat Apr 25 21:25:26 2009 @@ -175,7 +175,7 @@ * <p> * Unpaged (whole list) access, using a parser accessible by auto-detect: * <pre> - * FTPClient f=FTPClient(); + * FTPClient f = new FTPClient(); * f.connect(server); * f.login(username, password); * FTPFile[] files = listFiles(directory); @@ -185,7 +185,7 @@ * defined in the first parameter of initateListParsing should be derived * from org.apache.commons.net.FTPFileEntryParser: * <pre> - * FTPClient f=FTPClient(); + * FTPClient f = new FTPClient(); * f.connect(server); * f.login(username, password); * FTPListParseEngine engine = @@ -200,7 +200,7 @@ * <p> * Paged access, using a parser accessible by auto-detect: * <pre> - * FTPClient f=FTPClient(); + * FTPClient f = new FTPClient(); * f.connect(server); * f.login(username, password); * FTPListParseEngine engine = f.initiateListParsing(directory);