You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/10/03 07:13:00 UTC
[jira] [Created] (CAMEL-15626) camel-core - Use StringBuilder
instead of StringBuffer
Claus Ibsen created CAMEL-15626:
-----------------------------------
Summary: camel-core - Use StringBuilder instead of StringBuffer
Key: CAMEL-15626
URL: https://issues.apache.org/jira/browse/CAMEL-15626
Project: Camel
Issue Type: Task
Components: camel-core
Reporter: Claus Ibsen
Fix For: 3.x
Its mostly in some unit tests, but StringBuilder is better than StringBuffer. Also when biased locking is removed from JVM in the future.
And there is this on left
camel-base/src/main/java/org/apache/camel/processor/aggregate/StringAggregationStrategy.java: StringBuffer result; // Aggregate in StringBuffer instead of StringBuilder, to make it thread safe
git grep StringBuffer
--
This message was sent by Atlassian Jira
(v8.3.4#803005)