camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject git commit: CAMEL-7977 Fixed the sftp compression option setting issue
Date Fri, 31 Oct 2014 09:27:54 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.13.x 4ef48c9d8 -> a13eaa9e9


CAMEL-7977 Fixed the sftp compression option setting issue


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a13eaa9e
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a13eaa9e
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a13eaa9e

Branch: refs/heads/camel-2.13.x
Commit: a13eaa9e915816a83c5ec0343d258c3b57e1237b
Parents: 4ef48c9
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Tue Oct 28 15:56:43 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Fri Oct 31 17:27:39 2014 +0800

----------------------------------------------------------------------
 .../org/apache/camel/component/file/remote/SftpOperations.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a13eaa9e/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
index 4440368..daf6db6 100644
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
+++ b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
@@ -266,8 +266,8 @@ public class SftpOperations implements RemoteFileOperations<ChannelSftp.LsEntry>
         // compression
         if (sftpConfig.getCompression() > 0) {
             LOG.debug("Using compression: {}", sftpConfig.getCompression());
-            session.setConfig("compression.s2c", "zlib@openssh.com, zlib, none");
-            session.setConfig("compression.c2s", "zlib@openssh.com, zlib, none");
+            session.setConfig("compression.s2c", "zlib@openssh.com,zlib,none");
+            session.setConfig("compression.c2s", "zlib@openssh.com,zlib,none");
             session.setConfig("compression_level", Integer.toString(sftpConfig.getCompression()));
         }
         


Mime
View raw message