[java-metadata-aggregator] branch master updated: Fix one unnecessary unchecked warning
Ian Young
ian at iay.org.uk
Mon Jul 31 10:19:12 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=fd8d7ce410b31d8d0ddcaacd22132b172ae3a254
The following commit(s) were added to refs/heads/master by this push:
new fd8d7ce Fix one unnecessary unchecked warning
fd8d7ce is described below
commit fd8d7ce410b31d8d0ddcaacd22132b172ae3a254
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Mon Jul 31 15:19:03 2017 +0100
Fix one unnecessary unchecked warning
---
.../main/java/net/shibboleth/metadata/dom/saml/SAMLMetadataSupport.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/saml/SAMLMetadataSupport.java b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/saml/SAMLMetadataSupport.java
index 1522834..5f73c34 100644
--- a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/saml/SAMLMetadataSupport.java
+++ b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/saml/SAMLMetadataSupport.java
@@ -114,7 +114,7 @@ public final class SAMLMetadataSupport {
// Locate the Extensions element
final List<Element> extensions = ElementSupport.getChildElements(descriptor, EXTENSIONS_NAME);
if (extensions.isEmpty()) {
- return Collections.EMPTY_LIST;
+ return extensions;
}
return ElementSupport.getChildElements(extensions.get(0), extensionName);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list