Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/launch
diff options
context:
space:
mode:
authorDavid Inglis2004-03-23 03:07:40 +0000
committerDavid Inglis2004-03-23 03:07:40 +0000
commit18e6359b5b3c00bee031006d2507ae6c667f0a05 (patch)
treefde339e7302002b4a520651c1948854e4c289ddb /launch
parent118c31cd1662c47c0195b07ec05b6bf882f5962f (diff)
downloadorg.eclipse.cdt-18e6359b5b3c00bee031006d2507ae6c667f0a05.tar.gz
org.eclipse.cdt-18e6359b5b3c00bee031006d2507ae6c667f0a05.tar.xz
org.eclipse.cdt-18e6359b5b3c00bee031006d2507ae6c667f0a05.zip
cleanup
Diffstat (limited to 'launch')
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CEnvironmentTab.java3
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CMainTab.java2
2 files changed, 2 insertions, 3 deletions
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CEnvironmentTab.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CEnvironmentTab.java
index defb00de4a9..39fe316b887 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CEnvironmentTab.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CEnvironmentTab.java
@@ -107,7 +107,6 @@ public class CEnvironmentTab extends CLaunchConfigurationTab {
private boolean fEdit = false;
private Button fBtnOk = null;
- private Button fBtnCancel = null;
private Text fTextName = null;
private Text fTextValue = null;
@@ -175,7 +174,7 @@ public class CEnvironmentTab extends CLaunchConfigurationTab {
protected void createButtonsForButtonBar(Composite parent) {
fBtnOk = createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true);
- fBtnCancel = createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);
+ createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);
}
protected void updateButtonsState() {
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CMainTab.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CMainTab.java
index 4063527d414..1540de42fc1 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CMainTab.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CMainTab.java
@@ -335,7 +335,7 @@ public class CMainTab extends CLaunchConfigurationTab {
return;
}
- Object [] results = (Object [])dialog.getResult();
+ Object [] results = dialog.getResult();
try {
fProgText.setText(((IResource)results[0]).getProjectRelativePath().toString());

Back to the top