Repository: camel
Updated Branches:
  refs/heads/master 0e54bc8e5 -> 148333845


Fixed the CS error in camel-ftp


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

Branch: refs/heads/master
Commit: 22d3d0f8e2f07ad8e31bd6ba3acfd7a662dc0e27
Parents: 0e54bc8
Author: Willem Jiang <willem.ji...@gmail.com>
Authored: Wed Jun 10 16:27:33 2015 +0800
Committer: Willem Jiang <willem.ji...@gmail.com>
Committed: Wed Jun 10 16:27:33 2015 +0800

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


http://git-wip-us.apache.org/repos/asf/camel/blob/22d3d0f8/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpUtils.java
----------------------------------------------------------------------
diff --git 
a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpUtils.java
 
b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpUtils.java
index e190243..476099c 100644
--- 
a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpUtils.java
+++ 
b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpUtils.java
@@ -120,8 +120,8 @@ public final class FtpUtils {
     public static void ensureRelativeFtpDirectory(Component ftpComponent, 
RemoteFileConfiguration configuration) {
         if (FileUtil.hasLeadingSeparator(configuration.getDirectoryName())) {
             String relativePath = 
FileUtil.stripLeadingSeparator(configuration.getDirectoryName());
-            LOG.warn(String.format("%s doesn't support absolute paths, \"%s\" 
will be converted to \"%s\". " +
-                            "After Camel 2.16, absolute paths will be 
invalid.",
+            LOG.warn(String.format("%s doesn't support absolute paths, \"%s\" 
will be converted to \"%s\". "
+                    + "After Camel 2.16, absolute paths will be invalid.",
                     ftpComponent.getClass().getSimpleName(),
                     configuration.getDirectoryName(),
                     relativePath));

Reply via email to