From 3330ad3b502ee28a80f3f794e0fc7fee7c8ad6b1 Mon Sep 17 00:00:00 2001 From: Kushal Munir < kmunir@ca.ibm.com> Date: Wed, 6 Dec 2006 19:03:51 +0000 Subject: [PATCH] [cleanup] fix compiler warnings --- .../eclipse/rse/ui/widgets/SystemCollapsableSection.java | 8 ++++---- .../RSENewConnectionWizardDefaultDelegateMainPage.java | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/widgets/SystemCollapsableSection.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/widgets/SystemCollapsableSection.java index 0f1c7e26812..e40946624fc 100644 --- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/widgets/SystemCollapsableSection.java +++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/widgets/SystemCollapsableSection.java @@ -96,7 +96,7 @@ public class SystemCollapsableSection extends Composite implements MouseListener protected void layout(Composite composite, boolean flushCache) { Point ptTitleSize = getTitleSize(_strText); - Point ptLocation = getLocation(); + getLocation(); if (_bCollapsed == true) { @@ -398,9 +398,9 @@ public class SystemCollapsableSection extends Composite implements MouseListener } /** - * Set the two tooltips used in expanded state and collapsed state - * @param String - tooltip for the expanded state. e.g. Click line to collapse the section - * @param String - tooltip for the collapsed state. e.g. Click line to expand the section + * Sets tooltips used in expanded and collapsed states. + * @param strExpandedToolTip tooltip for the expanded state. For example, "click line to collapse the section". + * @param strCollapsedToolTip tooltip for the collapsed state. For example, "click line to expand the section". */ public void setToolTips(String strExpandedToolTip, String strCollapsedToolTip) { diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/wizards/RSENewConnectionWizardDefaultDelegateMainPage.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/wizards/RSENewConnectionWizardDefaultDelegateMainPage.java index a8f5e9c9115..c5cdceb72e7 100644 --- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/wizards/RSENewConnectionWizardDefaultDelegateMainPage.java +++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/wizards/RSENewConnectionWizardDefaultDelegateMainPage.java @@ -62,7 +62,6 @@ public class RSENewConnectionWizardDefaultDelegateMainPage super(wizard, "NewConnection", title, description); //$NON-NLS-1$ parentHelpId = RSEUIPlugin.HELPPREFIX + "wncc0000"; //$NON-NLS-1$ setHelp(parentHelpId); - this.delegate = delegate; form = getForm(); }