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:42:00 UTC
[jira] [Updated] (CAMEL-15626) camel-core - Use StringBuilder
instead of StringBuffer
[ https://issues.apache.org/jira/browse/CAMEL-15626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-15626:
--------------------------------
Labels: help-wanted (was: )
> 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
> Priority: Major
> Labels: help-wanted
> 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)