1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 17:26:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-05-26 17:30:52 +00:00
parent ac5e2040b0
commit 327f2d22e1

View file

@ -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.
* *