[java-metadata-aggregator] branch master updated: MDA-175 allow StageProcessingException from ordering strategy
Ian Young
ian at iay.org.uk
Thu Apr 27 07:35:07 EDT 2017
This is an automated email from the git hooks/post-receive script.
iay pushed a commit to branch master
in repository java-metadata-aggregator.
View the commit online:
http://git.shibboleth.net/view/?p=java-metadata-aggregator.git;a=commit;h=fc4ec99c45225adc6b18a73cbae3729674da4f8a
The following commit(s) were added to refs/heads/master by this push:
new fc4ec99 MDA-175 allow StageProcessingException from ordering strategy
fc4ec99 is described below
commit fc4ec99c45225adc6b18a73cbae3729674da4f8a
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Thu Apr 27 12:34:58 2017 +0100
MDA-175 allow StageProcessingException from ordering strategy
---
.../metadata/dom/saml/EntitiesDescriptorAssemblerStage.java | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/saml/EntitiesDescriptorAssemblerStage.java b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/saml/EntitiesDescriptorAssemblerStage.java
index b55cecb..11cfe9c 100644
--- a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/saml/EntitiesDescriptorAssemblerStage.java
+++ b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/saml/EntitiesDescriptorAssemblerStage.java
@@ -215,11 +215,15 @@ public class EntitiesDescriptorAssemblerStage extends BaseStage<Element> {
/**
* Orders a given Item collection.
*
- * @param items collection of Item, never null
+ * @param items collection of {@link Item}s, never null
*
- * @return sorted collection of Item, never null
+ * @return sorted collection of {@link Item}s, never null
+ *
+ * @throws StageProcessingException if the items in the collection cannot be ordered, for example
+ * because they do not meet required pre-conditions
*/
- public List<Item<Element>> order(@Nonnull @NonnullElements final Collection<Item<Element>> items);
+ public List<Item<Element>> order(@Nonnull @NonnullElements final Collection<Item<Element>> items)
+ throws StageProcessingException;
}
/** An ordering strategy that simply returns the collection in whatever order it was already in. */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list