[java-shib-shared] branch main updated: Fix unreverted change

Rod Widdowson rdw at steadingsoftware.com
Wed Jan 25 09:12:25 UTC 2023


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

rdw pushed a commit to branch main
in repository java-shib-shared.

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-shared.git;a=commit;h=95c19f254bb4dd45bb622ba0747f39605c7d5a5a

The following commit(s) were added to refs/heads/main by this push:
     new 95c19f25 Fix unreverted change
95c19f25 is described below

commit 95c19f254bb4dd45bb622ba0747f39605c7d5a5a
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Jan 25 09:12:14 2023 +0000

    Fix unreverted change
---
 .../src/main/java/net/shibboleth/shared/primitive/StringSupport.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/shib-support/src/main/java/net/shibboleth/shared/primitive/StringSupport.java b/shib-support/src/main/java/net/shibboleth/shared/primitive/StringSupport.java
index 175db122..b3c5fb0f 100644
--- a/shib-support/src/main/java/net/shibboleth/shared/primitive/StringSupport.java
+++ b/shib-support/src/main/java/net/shibboleth/shared/primitive/StringSupport.java
@@ -25,9 +25,11 @@ import java.nio.charset.Charset;
 import java.nio.charset.CharsetDecoder;
 import java.util.ArrayList;
 import java.util.Collection;
+import java.util.Collections;
 import java.util.Iterator;
 import java.util.List;
 import java.util.StringTokenizer;
+import java.util.stream.Collectors;
 
 import javax.annotation.Nonnull;
 import javax.annotation.Nullable;
@@ -178,7 +180,7 @@ public final class StringSupport {
             return CollectionSupport.emptyList();
         }
         
-        return values.stream().map(StringSupport::trimOrNull).filter(e->e != null).collect(CollectionSupport.toList());
+        return values.stream().map(StringSupport::trimOrNull).filter(e->e != null).collect(Collectors.toList());
     }
 
     /** Null/empty preserving conversion from xs:boolean to {@link Boolean}.

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


More information about the commits mailing list