1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 09:55:29 +02:00
cdt/launch/org.eclipse.cdt.launch
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 Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
icons new images from Dave Daoust 2005-04-07 17:48:09 +00:00
META-INF Incremented version of org.eclipse.cdt.core to 6.0. 2016-02-17 10:28:26 -08:00
schema [273502] Allow third party launch configurations to participate in refactoring. 2009-12-11 13:42:36 +00:00
src/org/eclipse/cdt/launch 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
.cvsignore new CDT launcher plugin with local launch delegate 2002-08-13 04:05:02 +00:00
.project Bug 265796 2009-02-25 20:06:32 +00:00
about.html Bug 189539 - Fix dates on about.html files to reflect projected release date. 2007-05-29 03:48:49 +00:00
build.properties Bug 315439 Fix up copyright 2010-06-02 20:38:34 +00:00
ChangeLog Bug 133964: getBinary() method in CDebuggerTab always returns null. 2006-05-23 21:42:12 +00:00
plugin.properties Bug 484900: Remove CDI launch delegate for post-mortem and attach 2016-03-18 14:55:38 -04:00
plugin.xml Bug 484900: Replace LocalCDILaunchDelegate with LocalRunLaunchDelegate 2016-03-18 14:34:11 -05:00
pom.xml Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00