commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NET-450) Bug in documentation for FTPClient
Date Fri, 23 Mar 2012 18:03:28 GMT

     [ https://issues.apache.org/jira/browse/NET-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb updated NET-450:
---------------------

    Description: 
In the Documentation for FTPClient 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.

  was:
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.

        Summary: Bug in documentation for FTPClient  (was: Bug in documentation for FTPClass)
    
> Bug in documentation for FTPClient
> ----------------------------------
>
>                 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
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> In the Documentation for FTPClient 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