1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-14 20:45:22 +02:00
cdt/debug/org.eclipse.cdt.debug.application
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 Setting preferences for standalone debugger plugin. 2014-11-20 11:07:36 -05:00
icons Stand-alone debugger for Mac OS X 2016-04-02 22:59:15 -04:00
META-INF Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
scripts Stand-alone debugger for Mac OS X 2016-04-02 22:59:15 -04:00
src/org/eclipse/cdt Bug 491984 - Replace .equals("") with .isEmpty() 2016-04-19 13:35:54 -04:00
.classpath Add CDT Standalone Debugger 2014-05-05 15:39:30 -04:00
.gitignore Bug 436260 - Standalone Debugger not starting 2014-06-04 16:52:15 -04:00
.project Add CDT Standalone Debugger 2014-05-05 15:39:30 -04:00
about.html Add CDT Standalone Debugger 2014-05-05 15:39:30 -04:00
build.properties Bug 458771 - Cannot refresh an editor in standalone debugger 2015-10-13 16:39:36 -04:00
gdbstandalone.zip Add CDT Standalone Debugger 2014-05-05 15:39:30 -04:00
plugin.properties Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00
plugin.xml Bug 460167 - RCP for the Stand-alone debugger 2015-05-19 14:29:06 -04:00
plugin_customization.ini Bug 458771 - Cannot refresh an editor in standalone debugger 2015-10-13 16:39:36 -04:00
pom.xml Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00