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

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

commit 1128cea3af054b0a56de35ebe105d91c76c6bb50
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Mon Aug 26 13:58:44 2024 +0200

    (chores) camel-ftp: use more adequately sized buffers
---
 .../src/main/java/org/apache/camel/component/file/remote/FtpUtils.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 c2bf523199e..ec84ed12952 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
@@ -90,7 +90,7 @@ public final class FtpUtils {
         }
 
         // build path based on stack
-        StringBuilder sb = new StringBuilder();
+        StringBuilder sb = new StringBuilder(256);
 
         if (startsWithSlash) {
             sb.append(File.separator);

Reply via email to