Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSusan Franklin2008-04-23 11:33:12 -0400
committerSusan Franklin2008-04-23 11:33:12 -0400
commit87cb1f672019a8aa4d4ca99646ada3fcfbd3b59e (patch)
tree7e9817bb04e0878c4dec149897e2ee12f6a4dac3 /bundles
parent79b06c24495f6731a8ae235cf09b0e661b02b569 (diff)
downloadrt.equinox.p2-87cb1f672019a8aa4d4ca99646ada3fcfbd3b59e.tar.gz
rt.equinox.p2-87cb1f672019a8aa4d4ca99646ada3fcfbd3b59e.tar.xz
rt.equinox.p2-87cb1f672019a8aa4d4ca99646ada3fcfbd3b59e.zip
Bug 228407 - [ui] Compiler warnings in N20080422-2000
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/provisional/p2/ui/sdk/RepositoryManipulationDialog.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/provisional/p2/ui/sdk/RepositoryManipulationDialog.java b/bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/provisional/p2/ui/sdk/RepositoryManipulationDialog.java
index c7a520fe4..2e26846fd 100644
--- a/bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/provisional/p2/ui/sdk/RepositoryManipulationDialog.java
+++ b/bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/provisional/p2/ui/sdk/RepositoryManipulationDialog.java
@@ -10,16 +10,12 @@
*******************************************************************************/
package org.eclipse.equinox.internal.provisional.p2.ui.sdk;
-import java.net.URL;
import java.util.ArrayList;
import org.eclipse.equinox.internal.p2.ui.sdk.*;
-import org.eclipse.equinox.internal.provisional.p2.core.ProvisionException;
import org.eclipse.equinox.internal.provisional.p2.core.repository.RepositoryEvent;
-import org.eclipse.equinox.internal.provisional.p2.metadata.repository.IMetadataRepositoryManager;
import org.eclipse.equinox.internal.provisional.p2.ui.*;
import org.eclipse.equinox.internal.provisional.p2.ui.dialogs.RepositoryManipulatorDropTarget;
import org.eclipse.equinox.internal.provisional.p2.ui.model.*;
-import org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil;
import org.eclipse.equinox.internal.provisional.p2.ui.viewers.*;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IAction;
@@ -37,7 +33,6 @@ import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.*;
import org.eclipse.ui.dialogs.PropertyDialogAction;
-import org.eclipse.ui.statushandlers.StatusManager;
/**
* Dialog that allows users to update, add, or remove repositories.
@@ -242,17 +237,6 @@ public class RepositoryManipulationDialog extends TrayDialog {
button = createVerticalButton(parent, ProvSDKMessages.RepositoryManipulationDialog_Export, false);
button.setData(BUTTONACTION, new Action() {
public void run() {
- final URL[] repos;
- try {
- MetadataRepositories input = (MetadataRepositories) repositoryViewer.getInput();
- if (input.getMetadataRepositories() != null)
- repos = input.getMetadataRepositories();
- else
- repos = ProvisioningUtil.getMetadataRepositories(IMetadataRepositoryManager.REPOSITORIES_NON_SYSTEM);
- } catch (ProvisionException e) {
- ProvUI.handleException(e, null, StatusManager.LOG | StatusManager.SHOW);
- return;
- }
BusyIndicator.showWhile(getShell().getDisplay(), new Runnable() {
public void run() {
UpdateManagerCompatibility.exportSites(getShell(), getElements());

Back to the top