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 fe015490aaac0e1957254158c5c86c930fe01e8e
Author: Otavio Rodolfo Piske <angusyo...@gmail.com>
AuthorDate: Wed May 24 14:31:47 2023 +0200

    (chores) camel-util: adjust the StringBuilder buffer size when creating the 
query string
---
 core/camel-util/src/main/java/org/apache/camel/util/URISupport.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/camel-util/src/main/java/org/apache/camel/util/URISupport.java 
b/core/camel-util/src/main/java/org/apache/camel/util/URISupport.java
index 07c14d61a8d..c899e86d92f 100644
--- a/core/camel-util/src/main/java/org/apache/camel/util/URISupport.java
+++ b/core/camel-util/src/main/java/org/apache/camel/util/URISupport.java
@@ -455,7 +455,7 @@ public final class URISupport {
             return EMPTY_QUERY_STRING;
         }
 
-        StringBuilder rc = new StringBuilder();
+        StringBuilder rc = new StringBuilder(128);
         boolean first = true;
         for (String key : sortedKeys) {
             if (first) {

Reply via email to