commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1076402 - /commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java
Date Wed, 02 Mar 2011 21:40:44 GMT
Author: sebb
Date: Wed Mar  2 21:40:44 2011
New Revision: 1076402

URL: http://svn.apache.org/viewvc?rev=1076402&view=rev
Log:
Not interested in errors from the close

Modified:
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java

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=1076402&r1=1076401&r2=1076402&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 Wed Mar
 2 21:40:44 2011
@@ -2691,7 +2691,7 @@ implements Configurable
             engine.readServerList(socket.getInputStream(), getControlEncoding());
         }
         finally {
-            socket.close();
+            Util.closeQuietly(socket);
         }
 
         completePendingCommand();



Mime
View raw message