1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-04 22:23:28 +02:00
cdt/dsf/org.eclipse.cdt.tests.dsf
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 Move some leftover plugins from Java 5 to Java 7. 2015-03-25 13:42:20 -04:00
META-INF Move some leftover plugins from Java 5 to Java 7. 2015-03-25 13:42:20 -04:00
src/org/eclipse/cdt/tests/dsf Bug 492230 - Replace buffer.append(a+b) calls 2016-04-25 11:38:47 -05:00
.classpath Move some leftover plugins from Java 5 to Java 7. 2015-03-25 13:42:20 -04:00
.cvsignore
.project
about.html
build.properties update copyright 2009-06-16 21:36:53 +00:00
plugin.properties fix legal, provider info 2009-06-16 21:37:21 +00:00
plugin.xml Bug 202556 - [variables][registers][expressions] Allow setting of numeric format for individual variables in the view. 2011-03-04 16:06:51 +00:00
README.txt Bug 469926: Update readme from CVS to GIT URLs 2015-06-11 13:01:58 +01:00

This plugin depends on Eclipse performance test plugins which are not available via update sites.

Find the org.eclipse.test and org.eclipse.test.performance[.win32] plugins via GIT at:

	https://git.eclipse.org/c/platform/eclipse.platform.releng.git/
	(The GIT URLs are at the bottom of the page)