[java-plugin-shibd] branch main updated: Fix a null violation.

Codeberg noreply at shibboleth.net
Tue May 19 13:02:30 UTC 2026


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

codeberg pushed a commit to branch main
in repository java-plugin-shibd.

View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd/commit/3514fff699f7f4f006fe37e2741167c8a592d2cf

The following commit(s) were added to refs/heads/main by this push:
     new 3514fff  Fix a null violation.
3514fff is described below

commit 3514fff699f7f4f006fe37e2741167c8a592d2cf
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Tue May 19 09:01:48 2026 -0400

    Fix a null violation.
---
 .../net/shibboleth/sp/profile/BasicTokenConsumerFlowDescriptor.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sp-server-api/src/main/java/net/shibboleth/sp/profile/BasicTokenConsumerFlowDescriptor.java b/sp-server-api/src/main/java/net/shibboleth/sp/profile/BasicTokenConsumerFlowDescriptor.java
index 0c1acb3..62a3d2a 100644
--- a/sp-server-api/src/main/java/net/shibboleth/sp/profile/BasicTokenConsumerFlowDescriptor.java
+++ b/sp-server-api/src/main/java/net/shibboleth/sp/profile/BasicTokenConsumerFlowDescriptor.java
@@ -56,7 +56,7 @@ public class BasicTokenConsumerFlowDescriptor extends AbstractIdentifiableInitia
     
     /** {@inheritDoc} */
     @Override public int hashCode() {
-        return getId().hashCode();
+        return ensureId().hashCode();
     }
 
     /** {@inheritDoc} */
@@ -70,7 +70,7 @@ public class BasicTokenConsumerFlowDescriptor extends AbstractIdentifiableInitia
         }
 
         if (obj instanceof BasicTokenConsumerFlowDescriptor) {
-            return getId().equals(((BasicTokenConsumerFlowDescriptor) obj).getId());
+            return ensureId().equals(((BasicTokenConsumerFlowDescriptor) obj).getId());
         }
 
         return false;

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


More information about the commits mailing list