Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2011-05-26 13:50:06 -0400
committerSergey Prigogin2011-05-26 13:50:06 -0400
commit472713c95189e59f4c9ae7466746509948e53f38 (patch)
tree52ef4e9a48b6957f176c445e7d287442f3bedbb5 /debug/org.eclipse.cdt.debug.ui
parent327f2d22e1f5ef4a79c9a1d67ea7ffacda29c6fb (diff)
downloadorg.eclipse.cdt-472713c95189e59f4c9ae7466746509948e53f38.tar.gz
org.eclipse.cdt-472713c95189e59f4c9ae7466746509948e53f38.tar.xz
org.eclipse.cdt-472713c95189e59f4c9ae7466746509948e53f38.zip
Cosmetics.
Diffstat (limited to 'debug/org.eclipse.cdt.debug.ui')
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/launch/CApplicationLaunchShortcut.java13
1 files changed, 6 insertions, 7 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/launch/CApplicationLaunchShortcut.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/launch/CApplicationLaunchShortcut.java
index 8f5a8aaef2..8f69af8ee8 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/launch/CApplicationLaunchShortcut.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/launch/CApplicationLaunchShortcut.java
@@ -6,9 +6,9 @@
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * QNX Software Systems - Initial API and implementation
- * Ken Ryall (Nokia) - bug 178731
- * Ken Ryall (Nokia) - bug 246201
+ * QNX Software Systems - Initial API and implementation
+ * Ken Ryall (Nokia) - bug 178731
+ * Ken Ryall (Nokia) - bug 246201
*******************************************************************************/
package org.eclipse.cdt.debug.internal.ui.launch;
@@ -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);
}

Back to the top