commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcar...@apache.org
Subject svn commit: r666092 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java
Date Tue, 10 Jun 2008 12:53:35 GMT
Author: jcarman
Date: Tue Jun 10 05:53:35 2008
New Revision: 666092

URL: http://svn.apache.org/viewvc?rev=666092&view=rev
Log:
VFS-211: The SFTP Provider Should Use Daemon Threads

Also cleaned up the javadoc at the top a bit (it mentioned HttpClient).

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java?rev=666092&r1=666091&r2=666092&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java
Tue Jun 10 05:53:35 2008
@@ -31,7 +31,7 @@
 import java.util.Properties;
 
 /**
- * Create a HttpClient instance
+ * Create a JSch Session instance
  *
  * @author <a href="mailto:imario@apache.org">Mario Ivankovits</a>
  * @version $Revision$ $Date$
@@ -206,7 +206,7 @@
             {
                 session.setConfig(config);
             }
-
+            session.setDaemonThread(true);
             session.connect();
         }
         catch (final Exception exc)



Mime
View raw message