== Why is this an issue?

Since Java 5, <code>StringBuffer</code> has been supplemented with an equivalent class designed for use by a single thread, <code>StringBuilder</code>.

<code>StringBuilder</code> is faster, as it performs no synchronization, and should be preferred.

ifdef::env-github,rspecator-view[]

'''
== Comments And Links
(visible only on this page)

=== is related to: S1149

=== on 8 Aug 2013, 06:05:30 Dinesh Bolkensteyn wrote:
Perhaps this rule should be merged with RSPEC-1149, as it's again about synchronized classes.

=== on 8 Aug 2013, 06:19:35 Dinesh Bolkensteyn wrote:
Implemented by \https://jira.codehaus.org/browse/SONARJAVA-179

=== on 8 Aug 2013, 12:36:43 Freddy Mallet wrote:
This rule spec has been merged with RSPEC-1149


endif::env-github,rspecator-view[]
