« Return to Thread: [Bug 89] New: Replace StringBuffer with StringBuilder as much as possible

[Bug 89] New: Replace StringBuffer with StringBuilder as much as possible

by Bugzilla from bugzilla-daemon@pixie.qos.ch :: Rate this Message:

Reply to Author | View in Thread

http://bugzilla.slf4j.org/show_bug.cgi?id=89

           Summary: Replace StringBuffer with StringBuilder as much as
                    possible
           Product: SLF4J
           Version: 1.5.x
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P1
         Component: Core API
        AssignedTo: dev@...
        ReportedBy: rick.beton@...


StringBuilder should be used for EVERY local variable that is currently a
StringBuffer. In such cases, there is no risk of a race condition and the
better performance of StringBuilder is desirable.

Examples of StringBuffer local variables which should be a StringBuilder:
* org.slf4j.helpers.MessageFormatter.arrayFormat
* org.slf4j.helpers.BasicMarker.toString


--
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
dev mailing list
dev@...
http://www.slf4j.org/mailman/listinfo/dev

 « Return to Thread: [Bug 89] New: Replace StringBuffer with StringBuilder as much as possible

LightInTheBox - Buy quality products at wholesale price!