From d26a1e2e98a01e5446b1e9d6306e28e359335d35 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Thu, 26 May 2011 20:17:14 +0000 Subject: [PATCH] Cosmetics. --- .../debug/internal/ui/launch/CApplicationLaunchShortcut.java | 4 ++-- 1 file changed, 2 insertions(+), 2 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 ce486f1635d..1bdcc1cce93 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 @@ -72,7 +72,7 @@ import org.eclipse.ui.dialogs.TwoPaneElementSelector; public class CApplicationLaunchShortcut implements ILaunchShortcut2 { public void launch(IEditorPart editor, String mode) { - searchAndLaunch(new Object[] { editor.getEditorInput()}, mode); + searchAndLaunch(new Object[] { editor.getEditorInput() }, mode); } public void launch(ISelection selection, String mode) { @@ -234,7 +234,7 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut2 { * Convenience method to get the window that owns this action's Shell. */ protected Shell getShell() { - IWorkbenchWindow w = CDebugUIPlugin.getActiveWorkbenchWindow(); + IWorkbenchWindow w = CDebugUIPlugin.getActiveWorkbenchWindow(); if (w != null) { return w.getShell(); }