Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2010-02-09 19:55:07 +0000
committerJohn Arthorne2010-02-09 19:55:07 +0000
commit37f0a6eeb78cb0f6bc65f313c17173a86754601b (patch)
tree77b851fef03d3b41f34434e9ae1cf210c211fb2a /bundles/org.eclipse.equinox.p2.ui.admin
parenteeffd866d4fef7269d57d354e78a7d8ef58510e5 (diff)
downloadrt.equinox.p2-37f0a6eeb78cb0f6bc65f313c17173a86754601b.tar.gz
rt.equinox.p2-37f0a6eeb78cb0f6bc65f313c17173a86754601b.tar.xz
rt.equinox.p2-37f0a6eeb78cb0f6bc65f313c17173a86754601b.zip
Bug 272066 - [repo] Repository location validation
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.ui.admin')
-rw-r--r--bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ArtifactRepositoryTracker.java10
-rw-r--r--bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/MetadataRepositoryTracker.java10
2 files changed, 6 insertions, 14 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ArtifactRepositoryTracker.java b/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ArtifactRepositoryTracker.java
index b4fbdba2d..32590953f 100644
--- a/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ArtifactRepositoryTracker.java
+++ b/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ArtifactRepositoryTracker.java
@@ -11,11 +11,11 @@
package org.eclipse.equinox.internal.p2.ui.admin;
-import org.eclipse.equinox.p2.core.ProvisionException;
-
import java.net.URI;
-import org.eclipse.core.runtime.*;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.SubMonitor;
import org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent;
+import org.eclipse.equinox.p2.core.ProvisionException;
import org.eclipse.equinox.p2.operations.ProvisioningSession;
import org.eclipse.equinox.p2.operations.RepositoryTracker;
import org.eclipse.equinox.p2.repository.IRepository;
@@ -33,10 +33,6 @@ public class ArtifactRepositoryTracker extends RepositoryTracker {
return session.getArtifactRepositoryManager().getKnownRepositories(getArtifactRepositoryFlags());
}
- protected IStatus validateRepositoryLocationWithManager(ProvisioningSession session, URI location, IProgressMonitor monitor) {
- return Status.OK_STATUS;
- }
-
public void addRepository(URI repoLocation, String nickname, ProvisioningSession session) {
ui.signalRepositoryOperationStart();
try {
diff --git a/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/MetadataRepositoryTracker.java b/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/MetadataRepositoryTracker.java
index 52c260adb..7c95ee6eb 100644
--- a/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/MetadataRepositoryTracker.java
+++ b/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/MetadataRepositoryTracker.java
@@ -11,11 +11,11 @@
package org.eclipse.equinox.internal.p2.ui.admin;
-import org.eclipse.equinox.p2.core.ProvisionException;
-
import java.net.URI;
-import org.eclipse.core.runtime.*;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.SubMonitor;
import org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent;
+import org.eclipse.equinox.p2.core.ProvisionException;
import org.eclipse.equinox.p2.operations.ProvisioningSession;
import org.eclipse.equinox.p2.operations.RepositoryTracker;
import org.eclipse.equinox.p2.repository.IRepository;
@@ -33,10 +33,6 @@ public class MetadataRepositoryTracker extends RepositoryTracker {
return session.getMetadataRepositoryManager().getKnownRepositories(getArtifactRepositoryFlags());
}
- protected IStatus validateRepositoryLocationWithManager(ProvisioningSession session, URI location, IProgressMonitor monitor) {
- return Status.OK_STATUS;
- }
-
public void addRepository(URI repoLocation, String nickname, ProvisioningSession session) {
ui.signalRepositoryOperationStart();
try {

Back to the top