1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00
cdt/build/org.eclipse.cdt.managedbuilder.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 Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
icons bug 328007: [sd90] Design user interface for new scanner discovery 2012-05-01 23:05:37 -04:00
META-INF Incremented version of org.eclipse.cdt.core to 6.0. 2016-02-17 10:28:26 -08:00
schema Bug 320949 - Add ability to contribute custom field-editor GUI to the Build Option Settings page 2011-03-09 22:28:20 +00:00
src/org/eclipse/cdt/managedbuilder 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 Patch for Sean Evoy: 2003-09-15 20:44:43 +00:00
.project RESOLVED - bug 273636: changes to enable MBS on EFS projects 2009-04-28 12:02:33 +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 Remove reference to java environment in build.properties 2015-09-29 08:57:47 -04:00
ChangeLog 2005-04-05 Alain Magloire 2005-04-05 14:54:03 +00:00
plugin.properties Proper enablement of Build Configurations Build/Clean commands. 2014-08-01 11:55:31 -07:00
plugin.xml Bug 382746 - Adding C/C++ nature for C Project impossible 2015-12-28 13:43:42 -05:00
pom.xml Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00