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

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Wed Jun 18 12:47:04 CEST 2008


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 at slf4j.org
        ReportedBy: rick.beton at gmail.com


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.



More information about the slf4j-dev mailing list