1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00
cdt/memory/org.eclipse.cdt.debug.ui.memory.search
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
..
.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/debug/ui/memory/search Bug 491825 - Remove primitive wrapper creation 2016-04-16 12:17:48 -04:00
.classpath Move some leftover plugins from Java 5 to Java 7. 2015-03-25 13:42:20 -04:00
.project [memory] DSDP-DD -> CDT initial commit 2009-02-09 06:20:34 +00:00
about.html [memory] DSDP-DD -> CDT initial commit 2009-02-09 06:20:34 +00:00
build.properties Upgrade to Tycho 0.14.1 2012-04-23 00:25:47 -04:00
plugin.properties bug 277871 - Externalize strings in plugin.xml and MANIFEST.MF for memory plugins 2009-05-27 15:55:44 +00:00
plugin.xml Bug 473536 - [memory] Add a Find-Replace menu option to the memory view 2015-07-30 13:29:54 -04:00
pom.xml Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00