[java-shib-metadata] branch main updated: Optimize by breaking loop on guard value.
Codeberg
noreply at shibboleth.net
Wed Jan 21 16:36:08 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-shib-metadata.
View the commit online:
https://codeberg.org/Shibboleth/java-shib-metadata/commit/8e6def83962248b13f580e3223d52775d20af1aa
The following commit(s) were added to refs/heads/main by this push:
new 8e6def83 Optimize by breaking loop on guard value.
8e6def83 is described below
commit 8e6def83962248b13f580e3223d52775d20af1aa
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Jan 21 11:35:56 2026 -0500
Optimize by breaking loop on guard value.
---
.../main/java/net/shibboleth/idp/saml/metadata/impl/ScopeFilter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shib-metadata-impl/src/main/java/net/shibboleth/idp/saml/metadata/impl/ScopeFilter.java b/shib-metadata-impl/src/main/java/net/shibboleth/idp/saml/metadata/impl/ScopeFilter.java
index 65ddce35..27cda299 100644
--- a/shib-metadata-impl/src/main/java/net/shibboleth/idp/saml/metadata/impl/ScopeFilter.java
+++ b/shib-metadata-impl/src/main/java/net/shibboleth/idp/saml/metadata/impl/ScopeFilter.java
@@ -165,7 +165,7 @@ public class ScopeFilter extends AbstractMetadataFilter {
for (final Scope scope : entry.getValue()) {
if (GUARD_VALUE.equals(scope.getValue())) {
// Skip guard value for empty collections.
- continue;
+ break;
}
if (exts == null) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list