Skip to content

Commit

Permalink
SHIBUI-522 polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
dima767 committed Jun 13, 2018
1 parent b2c0631 commit 1a4c5d7
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
import javax.persistence.PreUpdate;
import javax.persistence.Transient;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;

import java.util.List;

import static edu.internet2.tier.shibboleth.admin.util.ModelRepresentationConversions.getAttributeListFromAttributeReleaseList;
Expand Down Expand Up @@ -67,13 +66,7 @@ public void fromTransientRepresentation() {
attributeList.addAll(getAttributeListFromRelyingPartyOverridesRepresentation(this.relyingPartyOverrides));

if(!attributeList.isEmpty()) {
//attributeList.sort(Comparator.comparing(org.opensaml.saml.saml2.core.Attribute::getName));
this.attributes = (List<edu.internet2.tier.shibboleth.admin.ui.domain.Attribute>) (List<? extends org.opensaml.saml.saml2.core.Attribute>) attributeList;
}

/*if(!attributeList.isEmpty()) {
this.attributes.clear();
this.attributes.addAll((List<edu.internet2.tier.shibboleth.admin.ui.domain.Attribute>)(List<? extends org.opensaml.saml.saml2.core.Attribute>)attributeList);
}*/
}
}

0 comments on commit 1a4c5d7

Please sign in to comment.