commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Hardiman (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NET-450) Bug in documentation for FTPClass
Date Thu, 08 Mar 2012 07:49:04 GMT
Bug in documentation for FTPClass
---------------------------------

                 Key: NET-450
                 URL: https://issues.apache.org/jira/browse/NET-450
             Project: Commons Net
          Issue Type: Bug
          Components: FTP
    Affects Versions: 3.1
         Environment: Documentation on Apache web site
            Reporter: Roger Hardiman
            Priority: Minor


In the Documentation for FTPClass there are some examples
One is
    FTPClient f = new FTPClient();
    f.connect(server);
    f.login(username, password);
    FTPFile[] files = listFiles(directory);

There is a typo on the last line.

It should be f.listFiles(directory);

Rating this as Minior as any decent Java programmer should work it out.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message