[java-opensaml] branch master updated: Filter chain can't be unmodifiable to meet API contract.

Scott Cantor cantor.2 at osu.edu
Mon Oct 21 13:53:41 EDT 2019


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=83d9423b72def91917d0fc29d441dfe97b28d7e4

The following commit(s) were added to refs/heads/master by this push:
       new  83d9423   Filter chain can't be unmodifiable to meet API contract.
83d9423 is described below

commit 83d9423b72def91917d0fc29d441dfe97b28d7e4
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Oct 21 13:53:38 2019 -0400

    Filter chain can't be unmodifiable to meet API contract.
---
 .../opensaml/saml/metadata/resolver/filter/MetadataFilterChain.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/opensaml-saml-api/src/main/java/org/opensaml/saml/metadata/resolver/filter/MetadataFilterChain.java b/opensaml-saml-api/src/main/java/org/opensaml/saml/metadata/resolver/filter/MetadataFilterChain.java
index 13235f5..83b0cca 100644
--- a/opensaml-saml-api/src/main/java/org/opensaml/saml/metadata/resolver/filter/MetadataFilterChain.java
+++ b/opensaml-saml-api/src/main/java/org/opensaml/saml/metadata/resolver/filter/MetadataFilterChain.java
@@ -18,7 +18,6 @@
 package org.opensaml.saml.metadata.resolver.filter;
 
 import java.util.ArrayList;
-import java.util.Collections;
 import java.util.List;
 
 import javax.annotation.Nonnull;
@@ -51,7 +50,7 @@ public class MetadataFilterChain implements MetadataFilter {
      * Constructor.
      */
     public MetadataFilterChain() {
-        filters = Collections.emptyList();
+        filters = new ArrayList<>();
     }
 
     /** {@inheritDoc} */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list