commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: jakarta-commons/net/src/java/org/apache/commons/net/ftp FTPClient.java
Date Tue, 23 Nov 2004 19:51:43 GMT
dfs         2004/11/23 11:51:43

  Modified:    net/src/java/org/apache/commons/net/ftp FTPClient.java
  Log:
  Added a comment to compromise for http://issues.apache.org/bugzilla/show_bug.cgi?id=31918.
  
  Revision  Changes    Path
  1.44      +2 -2      jakarta-commons/net/src/java/org/apache/commons/net/ftp/FTPClient.java
  
  Index: FTPClient.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/net/src/java/org/apache/commons/net/ftp/FTPClient.java,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- FTPClient.java	23 Nov 2004 12:34:28 -0000	1.43
  +++ FTPClient.java	23 Nov 2004 19:51:43 -0000	1.44
  @@ -62,7 +62,8 @@
    *        System.err.println("FTP server refused connection.");
    *        System.exit(1);
    *      }
  - *       ftp.disconnect();
  + *     ... // transfer files
  + *     ftp.disconnect();
    *    } catch(IOException e) {
    *      if(ftp.isConnected()) {
    *        try {
  @@ -71,7 +72,6 @@
    *          // do nothing
    *        }
    *      }
  - *      System.err.println("Could not connect to server.");
    *      e.printStackTrace();
    *      System.exit(1);
    *    }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message