1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 16:56:04 +02:00
cdt/build/org.eclipse.cdt.managedbuilder.ui
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
..
.settings Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
icons bug 328007: [sd90] Design user interface for new scanner discovery 2012-05-01 23:05:37 -04:00
META-INF Incremented version of org.eclipse.cdt.core to 6.0. 2016-02-17 10:28:26 -08:00
schema Bug 320949 - Add ability to contribute custom field-editor GUI to the Build Option Settings page 2011-03-09 22:28:20 +00:00
src/org/eclipse/cdt/managedbuilder Bug 492230 - Replace buffer.append(a+b) calls 2016-04-25 11:38:47 -05:00
.classpath Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
.cvsignore Patch for Sean Evoy: 2003-09-15 20:44:43 +00:00
.project RESOLVED - bug 273636: changes to enable MBS on EFS projects 2009-04-28 12:02:33 +00:00
about.html Bug 189539 - Fix dates on about.html files to reflect projected release date. 2007-05-29 03:48:49 +00:00
build.properties Remove reference to java environment in build.properties 2015-09-29 08:57:47 -04:00
ChangeLog 2005-04-05 Alain Magloire 2005-04-05 14:54:03 +00:00
plugin.properties Proper enablement of Build Configurations Build/Clean commands. 2014-08-01 11:55:31 -07:00
plugin.xml Bug 382746 - Adding C/C++ nature for C Project impossible 2015-12-28 13:43:42 -05:00
pom.xml Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00