[
https://issues.apache.org/jira/browse/AMQ-9720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christopher L. Shannon resolved AMQ-9720.
-----------------------------------------
Resolution: Fixed
> Code cleanup: use StringBuilder instead of StringBuffer
> -------------------------------------------------------
>
> Key: AMQ-9720
> URL: https://issues.apache.org/jira/browse/AMQ-9720
> Project: ActiveMQ Classic
> Issue Type: Improvement
> Reporter: Gianandrea Rigoni
> Assignee: Christopher L. Shannon
> Priority: Minor
> Fix For: 6.2.0
>
>
> Code cleanup: use StringBuilder instead of StringBuffer
> StringBuilder is not synchronized, which makes it faster than StringBuffer
> in some cases where there is no loop involved replace StringBuffer with a
> pure String concatenation (leaving java compiler doing the optimizations)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact