aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Piggott2011-02-04 12:11:14 (EST)
committerIgor Fedorenko2011-02-04 12:15:03 (EST)
commitc88585bad54bf2b129087f968f8126491907ee98 (patch)
tree9e14cc58ed4c509a1cd8c65ab207acd694266edf
parentc8ec1d45ac7a93785ff626ae638fdb2f6dff0dce (diff)
downloadm2e-core-c88585bad54bf2b129087f968f8126491907ee98.zip
m2e-core-c88585bad54bf2b129087f968f8126491907ee98.tar.gz
m2e-core-c88585bad54bf2b129087f968f8126491907ee98.tar.bz2
Fixed use of Java 1.6 API
-rw-r--r--org.eclipse.m2e.discovery/src/org/eclipse/m2e/internal/discovery/startup/UpdateConfigurationStartup.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.m2e.discovery/src/org/eclipse/m2e/internal/discovery/startup/UpdateConfigurationStartup.java b/org.eclipse.m2e.discovery/src/org/eclipse/m2e/internal/discovery/startup/UpdateConfigurationStartup.java
index c76a4e4..5c34420 100644
--- a/org.eclipse.m2e.discovery/src/org/eclipse/m2e/internal/discovery/startup/UpdateConfigurationStartup.java
+++ b/org.eclipse.m2e.discovery/src/org/eclipse/m2e/internal/discovery/startup/UpdateConfigurationStartup.java
@@ -122,7 +122,7 @@ public class UpdateConfigurationStartup implements IStartup {
List<IProject> projects = new ArrayList<IProject>(projectNames.length);
IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
for(String projectName : projectNames) {
- if(!projectName.isEmpty()) {
+ if(projectName.length() > 0) {
IProject project = root.getProject(projectName);
if(project != null) {
projects.add(project);