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 6e72b7713f734fafea0ae51da5933bca0e47e0ca
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Mon Aug 26 14:02:32 2024 +0200

    (chores) camel-csimple-joor: use more adequately sized buffers
---
 .../camel/language/csimple/joor/JoorCSimpleCompilationException.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-csimple-joor/src/main/java/org/apache/camel/language/csimple/joor/JoorCSimpleCompilationException.java
 
b/components/camel-csimple-joor/src/main/java/org/apache/camel/language/csimple/joor/JoorCSimpleCompilationException.java
index 88917f98d2a..24081b367d6 100644
--- 
a/components/camel-csimple-joor/src/main/java/org/apache/camel/language/csimple/joor/JoorCSimpleCompilationException.java
+++ 
b/components/camel-csimple-joor/src/main/java/org/apache/camel/language/csimple/joor/JoorCSimpleCompilationException.java
@@ -44,7 +44,7 @@ public class JoorCSimpleCompilationException extends 
RuntimeException {
     }
 
     private String codeWithLineNumbers() {
-        StringBuilder sb = new StringBuilder();
+        StringBuilder sb = new StringBuilder(256);
         String[] lines = code.split("\n");
         int counter = 0;
         for (String line : lines) {

Reply via email to