Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2002-06-11 18:10:35 -0400
committerMichael Valenta2002-06-11 18:10:35 -0400
commit97567577eaf426e10de94b4e52e8768060e0bb3b (patch)
tree49bc2ff2f12a1d33cfdf864bddc7b4393e42e2a5
parentd97c8e69a617be55225d36ffd27e8664407a53f9 (diff)
downloadeclipse.platform.team-97567577eaf426e10de94b4e52e8768060e0bb3b.tar.gz
eclipse.platform.team-97567577eaf426e10de94b4e52e8768060e0bb3b.tar.xz
eclipse.platform.team-97567577eaf426e10de94b4e52e8768060e0bb3b.zip
19948: RepositoryProvider allProviders field should be a SetRoot_FixFor20041
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/core/RepositoryProvider.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/RepositoryProvider.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/RepositoryProvider.java
index e4f0f5221..0ec6bc2e1 100644
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/RepositoryProvider.java
+++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/RepositoryProvider.java
@@ -11,7 +11,9 @@
package org.eclipse.team.core;
import java.util.ArrayList;
+import java.util.HashSet;
import java.util.List;
+import java.util.Set;
import org.eclipse.core.resources.IFileModificationValidator;
import org.eclipse.core.resources.IProject;
@@ -29,8 +31,8 @@ import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.QualifiedName;
import org.eclipse.core.runtime.Status;
-import org.eclipse.team.internal.core.*;
import org.eclipse.team.internal.core.Policy;
+import org.eclipse.team.internal.core.TeamPlugin;
import org.eclipse.team.internal.core.simpleAccess.SimpleAccessOperations;
/**
@@ -266,7 +268,7 @@ public abstract class RepositoryProvider implements IProjectNature {
*/
final public static String[] getAllProviderTypeIds() {
IProjectNatureDescriptor[] desc = ResourcesPlugin.getWorkspace().getNatureDescriptors();
- List teamSet = new ArrayList();
+ Set teamSet = new HashSet();
teamSet.addAll(AllProviderTypeIds); // add in all the ones we know via extension point

Back to the top