1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui
Alex Blewitt 2114f6b108 Bug 491984 - Replace .equals("") with .isEmpty()
In many cases a String's empty status is tested with `.equals("")`.
However, Java 1.6 added `.isEmpty()` which can be more efficient since
it compares the internal length parameter only for testing. Replace
code using the `.isEmpty()` variant instead.

Some tests for `"".equals(expr)` can be replaced with `expr.isEmpty()`
where it is already known that the `expr` is not null; however,
these have to be reviewed on a case-by-case basis.

Change-Id: I3c6af4d8b7638e757435914ac76cb3a67899a5fd
Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-19 13:35:54 -04:00
..
.settings Bug 452199 - [visualizer] API filters file for multicore visualizer is 2014-11-19 09:18:25 -05:00
META-INF Bug 441713 - [visualizer] Make pinning of multicore visualizer view 2014-08-22 07:07:57 -04:00
resources Bug 460476 - [visualizer] make showing debug actions in toolbar 2015-03-04 07:03:51 -05:00
src/org/eclipse/cdt/dsf/gdb/multicorevisualizer/internal Bug 491984 - Replace .equals("") with .isEmpty() 2016-04-19 13:35:54 -04:00
.classpath Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
.project Bug 335027: Visualizer View feature. Initial contribution. 2012-02-10 13:12:15 -05:00
about.html Bug 335027: Visualizer View feature. Initial contribution. 2012-02-10 13:12:15 -05:00
build.properties Bug 335027: Visualizer View feature. Initial contribution. 2012-02-10 13:12:15 -05:00
plugin.properties Bug 335027: Visualizer View feature. Initial contribution. 2012-02-10 13:12:15 -05:00
plugin.xml Bug 335027: Visualizer View feature. Initial contribution. 2012-02-10 13:12:15 -05:00
pom.xml Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00