The use of a ``++StringBuilder++`` or ``++StringBuffer++`` is supposed to make ``++String++`` assembly more efficient than plain concatenation. So don't ruin the effect by concatenating the arguments to ``++append++``.


== Noncompliant Code Example

----
StringBuilder sb = new StringBuilder();
sb.append("foo is: " + getFoo()); // Noncompliant
----


== Compliant Solution

----
StringBuilder sb = new StringBuilder();
sb.append("foo is: ").append(getFoo());
----

