JUnit totally saved our butts here. Fixed a stupid mistake.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 26 Oct 2004 21:28:56 +0000 (21:28 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 26 Oct 2004 21:28:56 +0000 (21:28 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1137 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

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

index 53d5526..b3d852d 100644 (file)
@@ -165,9 +165,9 @@ public class SimpleAttributeDefinition extends BaseAttributeDefinition implement
                        results.addAll(Arrays.asList(getValuesFromConnectors(depends)));
                }
 
-               //if (!attributeDependencyIds.isEmpty()) {
-                       //results.addAll(Arrays.asList(getValuesFromAttributes(depends)));
-               //}
+               if (!attributeDependencyIds.isEmpty()) {
+                       results.addAll(Arrays.asList(getValuesFromAttributes(depends)));
+               }
 
                if (lifeTime != -1) {
                        attribute.setLifetime(lifeTime);