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)

Reply via email to