Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorelaskavaia2017-02-08 13:51:46 -0500
committerAlexander Kurtakov2017-05-05 04:51:42 -0400
commit04f48101fa56b83d84d94cda97e8a73b58f232b5 (patch)
tree8d63cb29f1be82c01caf4bfa699419d42c8aab7c
parent55f6319cea29c8ffbcc68a5b5557b0051dc180f9 (diff)
downloadrt.equinox.p2-04f48101fa56b83d84d94cda97e8a73b58f232b5.tar.gz
rt.equinox.p2-04f48101fa56b83d84d94cda97e8a73b58f232b5.tar.xz
rt.equinox.p2-04f48101fa56b83d84d94cda97e8a73b58f232b5.zip
Remove unnecessary cast for WizardDialog
It prevents from using non WizardDialog container, for no reason Change-Id: I71e94a17b6ac250076e40de531d2d9bda346b4a6 Signed-off-by: elaskavaia <elaskavaia.cdt@gmail.com>
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningOperationWizard.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningOperationWizard.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningOperationWizard.java
index cfae642fb..f142c086c 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningOperationWizard.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningOperationWizard.java
@@ -235,7 +235,7 @@ public abstract class ProvisioningOperationWizard extends Wizard {
}
protected void planChanged() {
- IWizardPage currentPage = ((WizardDialog) getContainer()).getCurrentPage();
+ IWizardPage currentPage = getContainer().getCurrentPage();
if ((currentPage == null || currentPage == mainPage) && remediationPage != null && remediationOperation != null && remediationOperation.getResolutionResult() == Status.OK_STATUS) {
remediationPage.updateStatus(root, operation, planSelections);
}

Back to the top