diff options
Diffstat (limited to 'debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/debug/application/ApplicationWorkbenchWindowAdvisor.java')
-rw-r--r-- | debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/debug/application/ApplicationWorkbenchWindowAdvisor.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/debug/application/ApplicationWorkbenchWindowAdvisor.java b/debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/debug/application/ApplicationWorkbenchWindowAdvisor.java index 9069ace3c80..b95100dd3e1 100644 --- a/debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/debug/application/ApplicationWorkbenchWindowAdvisor.java +++ b/debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/debug/application/ApplicationWorkbenchWindowAdvisor.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2013, 2015 Red Hat, Inc. + * Copyright (c) 2013, 2016 Red Hat, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -242,7 +242,7 @@ public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor { } }); // Check and see if we failed above and if so, quit - if (info.getHostPath().equals("")) { //$NON-NLS-1$ + if (info.getHostPath().isEmpty()) { monitor.done(); // throw internal exception which will be caught below throw new StartupException(errorStatus.getMessage()); @@ -342,7 +342,7 @@ public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor { } }); // Check and see if we failed above and if so, quit - if (info.getHostPath().equals("")) { //$NON-NLS-1$ + if (info.getHostPath().isEmpty()) { monitor.done(); // throw internal exception which will be caught below throw new StartupException(errorStatus.getMessage()); @@ -405,7 +405,7 @@ public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor { } }); // Check and see if we failed above and if so, quit - if (info.getHostPath().equals("")) { //$NON-NLS-1$ + if (info.getHostPath().isEmpty()) { monitor.done(); // throw internal exception which will be caught below throw new StartupException(errorStatus.getMessage()); |