diff options
author | Sarika Sinha | 2017-11-28 11:52:10 +0000 |
---|---|---|
committer | Sarika Sinha | 2017-11-28 11:52:10 +0000 |
commit | c0288fb1df23179c5b7f6ce1d184f0c34ba47d20 (patch) | |
tree | 052501fbdc0602a2d4da207723496d82c6dca072 | |
parent | eee1fdca463a9e904fcc4ab5cbb22a9ceb3450ac (diff) | |
download | eclipse.platform.debug-c0288fb1df23179c5b7f6ce1d184f0c34ba47d20.tar.gz eclipse.platform.debug-c0288fb1df23179c5b7f6ce1d184f0c34ba47d20.tar.xz eclipse.platform.debug-c0288fb1df23179c5b7f6ce1d184f0c34ba47d20.zip |
Bug 527852 - Compile warnings in debug.ui in I20171128-0100I20171130-2100I20171130-2000I20171129-2000I20171128-2000
Change-Id: Ic65a503fc8d615cf765a98446c574ecb03751a5c
2 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/SaveScopeResourcesHandler.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/SaveScopeResourcesHandler.java index 1ca859063..769205a74 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/SaveScopeResourcesHandler.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/SaveScopeResourcesHandler.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2006, 2015 IBM Corporation and others. + * Copyright (c) 2006, 2017 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -274,7 +274,7 @@ public class SaveScopeResourcesHandler implements IStatusHandler { new AdaptableList(resources), new WorkbenchContentProvider(), new WorkbenchLabelProvider()); - lsd.setInitialSelections(resources); + lsd.setInitialSelections((Object[]) resources); lsd.setTitle(LaunchConfigurationsMessages.SaveScopeResourcesHandler_3); if(lsd.open() == IDialogConstants.CANCEL_ID) { return IDialogConstants.CANCEL_ID; diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/LaunchConfigurationsPreferencePage.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/LaunchConfigurationsPreferencePage.java index a3a8a6530..1d86f8951 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/LaunchConfigurationsPreferencePage.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/LaunchConfigurationsPreferencePage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2013 IBM Corporation and others. + * Copyright (c) 2004, 2017 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -317,7 +317,7 @@ public class LaunchConfigurationsPreferencePage extends PreferencePage implement } LaunchConfigurationMigrationSelectionDialog listd = new LaunchConfigurationMigrationSelectionDialog(getShell(),new AdaptableList(pub)); listd.setTitle(DebugPreferencesMessages.LaunchingPreferencePage_28); - listd.setInitialSelections(configurations); + listd.setInitialSelections((Object[]) configurations); if(listd.open() == IDialogConstants.OK_ID) { fMonitor = new ProgressMonitorPart(fMigrateNow.getParent(), new GridLayout()); Object[] objs = listd.getResult(); |