Strings concatenated in loops
-----------------------------

                 Key: HUPA-58
                 URL: https://issues.apache.org/jira/browse/HUPA-58
             Project: JAMES Hupa
          Issue Type: Improvement
            Reporter: Eric Jablow
            Assignee: Norman Maurer
            Priority: Minor
         Attachments: concatenation-in-loop.patch

A few Java files have code like

String ret = "";
for (String s : ...) {
  ret += s +" ";
}

StringBuilder.append() is faster and does not allocate new objects.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to