[java-support] branch master updated: Replace collector with List to maintain input order.
Scott Cantor
cantor.2 at osu.edu
Fri Nov 1 12:39:59 EDT 2019
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-support.
View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=bee5e5a8df07b4bd24c124c3ff6529eb625df446
The following commit(s) were added to refs/heads/master by this push:
new bee5e5a Replace collector with List to maintain input order.
bee5e5a is described below
commit bee5e5a8df07b4bd24c124c3ff6529eb625df446
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Nov 1 12:39:57 2019 -0400
Replace collector with List to maintain input order.
---
.../net/shibboleth/utilities/java/support/primitive/StringSupport.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/net/shibboleth/utilities/java/support/primitive/StringSupport.java b/src/main/java/net/shibboleth/utilities/java/support/primitive/StringSupport.java
index 53168b8..dad7eaf 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/primitive/StringSupport.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/primitive/StringSupport.java
@@ -176,7 +176,7 @@ public final class StringSupport {
return Collections.emptySet();
}
- return values.stream().map(StringSupport::trimOrNull).filter(e->e != null).collect(Collectors.toSet());
+ 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