This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new e168c0d3efa Polished
e168c0d3efa is described below

commit e168c0d3efa1c62fa8c7e22c8ac8c97ef9854fe0
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Jan 1 16:30:08 2025 +0100

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

diff --git 
a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpComponent.java
 
b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpComponent.java
index 2d05aa85ab5..cd887f7c27c 100644
--- 
a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpComponent.java
+++ 
b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpComponent.java
@@ -63,8 +63,8 @@ public class FtpComponent extends 
RemoteFileComponent<FTPFile> {
 
     /**
      * Get the base uri part before the options as they can be non URI valid 
such as the expression using $ chars and
-     * the URI constructor will regard $ as an illegal character and we don't 
want to enforce end users to to escape the
-     * $ for the expression (file language)
+     * the URI constructor will regard $ as an illegal character, and we don't 
want to enforce end users to escape the $
+     * for the expression (file language)
      */
     protected String getBaseUri(String uri) {
         return StringHelper.before(uri, "?", uri);

Reply via email to