mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
Cosmetics.
This commit is contained in:
parent
ac5e2040b0
commit
327f2d22e1
1 changed files with 4 additions and 8 deletions
|
@ -57,7 +57,6 @@ import org.eclipse.debug.core.DebugException;
|
||||||
import org.eclipse.debug.core.ILaunchConfiguration;
|
import org.eclipse.debug.core.ILaunchConfiguration;
|
||||||
|
|
||||||
public class LaunchUtils {
|
public class LaunchUtils {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A prefix that we use to indicate that a GDB version is for MAC OS
|
* A prefix that we use to indicate that a GDB version is for MAC OS
|
||||||
* @since 3.0
|
* @since 3.0
|
||||||
|
@ -82,8 +81,7 @@ public class LaunchUtils {
|
||||||
if (cproject == null && name.length() > 0) {
|
if (cproject == null && name.length() > 0) {
|
||||||
IProject proj = ResourcesPlugin.getWorkspace().getRoot().getProject(name);
|
IProject proj = ResourcesPlugin.getWorkspace().getRoot().getProject(name);
|
||||||
if (!proj.exists()) {
|
if (!proj.exists()) {
|
||||||
abort(
|
abort(LaunchMessages.getFormattedString("AbstractCLaunchDelegate.Project_NAME_does_not_exist", name), null, //$NON-NLS-1$
|
||||||
LaunchMessages.getFormattedString("AbstractCLaunchDelegate.Project_NAME_does_not_exist", name), null, //$NON-NLS-1$
|
|
||||||
ICDTLaunchConfigurationConstants.ERR_NOT_A_C_PROJECT);
|
ICDTLaunchConfigurationConstants.ERR_NOT_A_C_PROJECT);
|
||||||
} else if (!proj.isOpen()) {
|
} else if (!proj.isOpen()) {
|
||||||
abort(LaunchMessages.getFormattedString("AbstractCLaunchDelegate.Project_NAME_is_closed", name), null, //$NON-NLS-1$
|
abort(LaunchMessages.getFormattedString("AbstractCLaunchDelegate.Project_NAME_is_closed", name), null, //$NON-NLS-1$
|
||||||
|
@ -95,7 +93,6 @@ public class LaunchUtils {
|
||||||
return cproject;
|
return cproject;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Verify that program name of the configuration can be found as a file.
|
* Verify that program name of the configuration can be found as a file.
|
||||||
*
|
*
|
||||||
|
@ -131,7 +128,6 @@ public class LaunchUtils {
|
||||||
return programPath;
|
return programPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Verify that the executable path points to a valid binary file.
|
* Verify that the executable path points to a valid binary file.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue