Retain order of attribute and connector dependencies as a part of the dependency...
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 11 Oct 2004 19:14:50 +0000 (19:14 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 11 Oct 2004 19:14:50 +0000 (19:14 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1121 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aa/attrresolv/provider/BaseResolutionPlugIn.java

index 0e2ee8b..d39029c 100644 (file)
@@ -49,7 +49,7 @@
 
 package edu.internet2.middleware.shibboleth.aa.attrresolv.provider;
 
 
 package edu.internet2.middleware.shibboleth.aa.attrresolv.provider;
 
-import java.util.HashSet;
+import java.util.LinkedHashSet;
 import java.util.Set;
 
 import org.apache.log4j.Logger;
 import java.util.Set;
 
 import org.apache.log4j.Logger;
@@ -80,8 +80,8 @@ public abstract class BaseResolutionPlugIn implements ResolutionPlugIn {
     protected boolean propagateErrors = true;
 
     /** Dependencies. */
     protected boolean propagateErrors = true;
 
     /** Dependencies. */
-    protected Set connectorDependencyIds = new HashSet();
-    protected Set attributeDependencyIds = new HashSet();
+    protected Set connectorDependencyIds = new LinkedHashSet();
+    protected Set attributeDependencyIds = new LinkedHashSet();
 
        protected BaseResolutionPlugIn(Element e) throws ResolutionPlugInException {
                String id = e.getAttribute("id");
 
        protected BaseResolutionPlugIn(Element e) throws ResolutionPlugInException {
                String id = e.getAttribute("id");