Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2010-01-11 21:18:34 +0000
committerJohn Arthorne2010-01-11 21:18:34 +0000
commit6748d81cf0ac1369948e6c2f7c038101c1566df2 (patch)
treef7365a7454ad12c13446281c540d3230e1438dc8
parentae8cc8226dd201acf7338abcd82b09c2e30a9237 (diff)
downloadrt.equinox.p2-6748d81cf0ac1369948e6c2f7c038101c1566df2.tar.gz
rt.equinox.p2-6748d81cf0ac1369948e6c2f7c038101c1566df2.tar.xz
rt.equinox.p2-6748d81cf0ac1369948e6c2f7c038101c1566df2.zip
fix warnings
-rw-r--r--bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/tools/AbstractApplication.java11
1 files changed, 4 insertions, 7 deletions
diff --git a/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/tools/AbstractApplication.java b/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/tools/AbstractApplication.java
index ffa6c0081..c1d1bb18c 100644
--- a/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/tools/AbstractApplication.java
+++ b/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/tools/AbstractApplication.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009 IBM Corporation and others.
+ * Copyright (c) 2009, 2010 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
@@ -10,8 +10,6 @@
*******************************************************************************/
package org.eclipse.equinox.p2.internal.repository.tools;
-import org.eclipse.equinox.p2.core.ProvisionException;
-
import java.net.*;
import java.util.*;
import org.eclipse.core.runtime.IProgressMonitor;
@@ -22,8 +20,7 @@ import org.eclipse.equinox.internal.p2.core.helpers.LogHelper;
import org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository;
import org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory;
import org.eclipse.equinox.internal.p2.repository.helpers.RepositoryHelper;
-import org.eclipse.equinox.p2.core.IProvisioningAgent;
-import org.eclipse.equinox.p2.core.IProvisioningAgentProvider;
+import org.eclipse.equinox.p2.core.*;
import org.eclipse.equinox.p2.metadata.IInstallableUnit;
import org.eclipse.equinox.p2.repository.*;
import org.eclipse.equinox.p2.repository.artifact.IArtifactRepository;
@@ -39,7 +36,7 @@ public abstract class AbstractApplication {
protected List<RepositoryDescriptor> sourceRepositories = new ArrayList<RepositoryDescriptor>(); //List of repository descriptors
protected List<URI> artifactReposToRemove = new ArrayList<URI>();
protected List<URI> metadataReposToRemove = new ArrayList<URI>();
- protected List<IInstallableUnit> sourceIUs = new ArrayList();
+ protected List<IInstallableUnit> sourceIUs = new ArrayList<IInstallableUnit>();
private List<RepositoryDescriptor> destinationRepos = new ArrayList<RepositoryDescriptor>();
protected IArtifactRepository destinationArtifactRepository = null;
@@ -84,7 +81,7 @@ public abstract class AbstractApplication {
sourceIUs = ius;
}
- protected void finalizeRepositories() throws ProvisionException {
+ protected void finalizeRepositories() {
if (removeAddedRepositories) {
IArtifactRepositoryManager artifactRepositoryManager = getArtifactRepositoryManager();
for (URI uri : artifactReposToRemove)

Back to the top