1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 14:55:41 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-05-26 17:50:06 +00:00
parent 327f2d22e1
commit 472713c951

View file

@ -91,7 +91,7 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut2 {
/**
* Locate a configuration to relaunch for the given type. If one cannot be found, create one.
*
* @return a re-useable config or <code>null</code> if none
* @return a re-usable config or <code>null</code> if none
*/
protected ILaunchConfiguration findLaunchConfiguration(IBinary bin, String mode) {
ILaunchConfiguration configuration = null;
@ -142,7 +142,7 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut2 {
}
}
if ( debugConfig == null ) {
if (debugConfig == null) {
// Prompt the user if more then 1 debugger.
String programCPU = bin.getCPU();
String os = Platform.getOS();
@ -202,8 +202,7 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut2 {
wc.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_ID, debugConfig.getID());
ICProjectDescription projDes = CCorePlugin.getDefault().getProjectDescription(bin.getCProject().getProject());
if (projDes != null)
{
if (projDes != null) {
String buildConfigID = projDes.getActiveConfiguration().getId();
wc.setAttribute(ICDTLaunchConfigurationConstants.ATTR_PROJECT_BUILD_CONFIG_ID, buildConfigID);
}