1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/dsf/org.eclipse.cdt.examples.dsf
Alex Blewitt fc07efa909 Bug 491825 - Remove primitive wrapper creation
Using `new Integer` and other wrapper types such as `new Character` results in
potential extra heap utilisation as the values are not cached. The built-in
`Integer.valueOf` will perform caching on numbers in the range -128..127 (at
least) using a flyweight pattern. In addition, parsing `int` values can be done
with `Integer.parseInt` which avoids object construction.

Adjust tests such as `"true".equals(expr)` to `Boolean.parseBoolean(expr)`.

Change-Id: I0408a5c69afc4ca6ede71acaf6cc4abd67538006
Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-16 12:17:48 -04:00
..
.externalToolBuilders Add refresh option to example ant build. 2009-03-16 18:25:55 +00:00
.settings Move some leftover plugins from Java 5 to Java 7. 2015-03-25 13:42:20 -04:00
icons Migrated DSF and DSF-GDB to the CDT project. 2009-01-08 21:08:05 +00:00
META-INF Code cleanup in DSF examples. 2016-03-29 16:18:03 -04:00
src/org/eclipse/cdt/examples/dsf Bug 491825 - Remove primitive wrapper creation 2016-04-16 12:17:48 -04:00
src_ant/org/eclipse/cdt/examples/ant/tasks Code cleanup in DSF examples. 2016-03-29 16:18:03 -04:00
src_preprocess/org/eclipse/cdt/examples/dsf Code cleanup in DSF examples. 2016-03-29 16:18:03 -04:00
.classpath Move some leftover plugins from Java 5 to Java 7. 2015-03-25 13:42:20 -04:00
.project Migrated DSF and DSF-GDB to the CDT project. 2009-01-08 21:08:05 +00:00
about.html Migrated DSF and DSF-GDB to the CDT project. 2009-01-08 21:08:05 +00:00
about.ini New CDT Icon. 2010-06-03 14:59:53 +00:00
about.mappings Fixed up a number of legal items. 2009-06-10 19:37:19 +00:00
about.properties update copyright in about and update provider info 2010-05-31 20:40:20 +00:00
build.properties Code cleanup in DSF examples. 2016-03-29 16:18:03 -04:00
build_preprocess.xml Migrated DSF and DSF-GDB to the CDT project. 2009-01-08 21:08:05 +00:00
cdt_logo_icon32.png Update to new CDT Logo 2014-12-16 13:29:12 -05:00
plugin.properties bug 254307 - branding 2009-05-26 14:48:10 +00:00
plugin.xml Migrated DSF and DSF-GDB to the CDT project. 2009-01-08 21:08:05 +00:00
pom.xml Code cleanup in DSF examples. 2016-03-29 16:18:03 -04:00