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

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Wed Jun 25 11:56:43 CEST 2008


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





------- Comment #2 from rick.beton at gmail.com  2008-06-25 11:56 -------
That's not an unreasonable choice.

JDK1.3 reached its official end of life on December 2006 although it is
supported on Solaris until 2009. [http://java.sun.com/j2se/1.3.1/download.html]

JDK1.4 reaches its end of life this coming October.
[http://java.sun.com/j2se/1.4.2/download.html]

However, there might be a improvement for newer JDK users by removing the
StringBuffers and using the concatenation '+' operator instead. This will
worsen performance on JDK1.3/1.4 but improve it on JDK1.5/1.6, for which the
compilers automatically insert the new StringBuilder.


-- 
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