diff options
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(); |