From 9f2beccee247fb30235aeae28ecb91789e39cbe3 Mon Sep 17 00:00:00 2001 From: Florian Reimair Date: Tue, 11 Aug 2015 13:26:30 +0200 Subject: approved some more changes --- .../main/java/eu/stork/peps/auth/commons/Linker.java | 5 ++--- .../names/tc/stork/_1_0/assertion/ObjectFactory.java | 18 +++++++++--------- 2 files changed, 11 insertions(+), 12 deletions(-) (limited to 'id/server/stork2-commons/src/main') diff --git a/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/Linker.java b/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/Linker.java index 87ab4275f..f326ccfe9 100644 --- a/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/Linker.java +++ b/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/Linker.java @@ -251,10 +251,9 @@ public final class Linker implements Serializable { originalAssertions = new ArrayList(); // Gather all assertions - for (STORKAttrQueryResponse element : this.assertions.values()) { - originalAssertions.add(element); + for (List element : this.assertions.values()) { + originalAssertions.addAll(element); } - return originalAssertions; } diff --git a/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/ObjectFactory.java b/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/ObjectFactory.java index 82ec6d3b4..c656f81ee 100644 --- a/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/ObjectFactory.java +++ b/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/ObjectFactory.java @@ -375,15 +375,6 @@ public class ObjectFactory { return new JAXBElement(_CurrentStudiesSupplement_QNAME, CurrentStudiesType.class, null, value); } - /** - * Create an instance of {@link JAXBElement }{@code <}{@link MandateType }{@code >} - * - */ - @XmlElementDecl(namespace = "urn:eu:stork:names:tc:STORK:1.0:assertion", name = "mandate") - public JAXBElement createMandate(MandateType value) { - return new JAXBElement(_Mandate_QNAME, MandateType.class, null, value); - } - /** * Create an instance of {@link JAXBElement }{@code <}{@link RequestedAttributeType }{@code >} * @@ -393,6 +384,15 @@ public class ObjectFactory { return new JAXBElement(_RequestedAttribute_QNAME, RequestedAttributeType.class, null, value); } + /** + * Create an instance of {@link JAXBElement }{@code <}{@link MandateType }{@code >} + * + */ + @XmlElementDecl(namespace = "urn:eu:stork:names:tc:STORK:1.0:assertion", name = "mandate") + public JAXBElement createMandate(MandateType value) { + return new JAXBElement(_Mandate_QNAME, MandateType.class, null, value); + } + /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} * -- cgit v1.2.3