1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 14:12:10 +02:00
cdt/debug
Alex Blewitt 6bdca5f4a2 Bug 492230 - Replace buffer.append(a+b) calls
When using a `StringBuilder` or `StringBuffer` to create a string message,
using implicit string concatenation inside an `.append()` call will
create a nested StringBuilder for the purposes of creating the arguments,
which will subsequently be converted to a String and then passed to
the outer StringBuilder.

Skip the creation of the intermediate object and String by simply
replacing such calls with `buffer.append(a).append(b)`.

Where values are compile time String constants, leave as is so
that the javac compiler can perform compile-time String concatenation.
Ensure that NEWLINE isn't appended in such a way since it is not
a compile time constant `System.getProperty("line.separator")`

Change-Id: I4126aefb2272f06b08332e004d7ea76b6f02cdba
Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-25 11:38:47 -05:00
..
org.eclipse.cdt.debug.application Bug 492200 - Replace StringBuffer with StringBuilder 2016-04-21 22:17:03 -05:00
org.eclipse.cdt.debug.application.doc Bug 472765: User documentation for Path Mapping 2016-04-13 10:41:46 -05:00
org.eclipse.cdt.debug.application.product Stand-alone debugger for Mac OS X 2016-04-02 22:59:15 -04:00
org.eclipse.cdt.debug.application.tests Make stand-alone debugger SWTBot test more robust 2016-04-20 17:23:12 -04:00
org.eclipse.cdt.debug.core Bug 489512 - Show local variables in the traditional memory render 2016-04-24 21:39:15 -04:00
org.eclipse.cdt.debug.core.tests Updated the about.html files. 2006-05-24 13:51:50 +00:00
org.eclipse.cdt.debug.standalone-feature Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00
org.eclipse.cdt.debug.standalone.source-feature Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00
org.eclipse.cdt.debug.ui Bug 492230 - Replace buffer.append(a+b) calls 2016-04-25 11:38:47 -05:00
org.eclipse.cdt.gdb Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
org.eclipse.cdt.gdb-feature Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00
org.eclipse.cdt.gdb.source-feature Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00
org.eclipse.cdt.gdb.ui Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00
org.eclipse.cdt.gnu.debug-feature Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
org.eclipse.cdt.gnu.debug.source-feature Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00