[java-opensaml] branch main updated: Fix one issue Eclipse is wrongly flagging for now.

Codeberg noreply at shibboleth.net
Tue Nov 25 16:30:56 UTC 2025


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

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

View the commit online:
https://codeberg.org/Shibboleth/java-opensaml/commit/3b264aeff96f27bc45506e885370e2f51ade18f1

The following commit(s) were added to refs/heads/main by this push:
     new 3b264aeff Fix one issue Eclipse is wrongly flagging for now.
3b264aeff is described below

commit 3b264aeff96f27bc45506e885370e2f51ade18f1
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Nov 25 11:30:44 2025 -0500

    Fix one issue Eclipse is wrongly flagging for now.
---
 .../opensaml/saml/saml2/core/impl/KeyInfoConfirmationDataTypeTest.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/core/impl/KeyInfoConfirmationDataTypeTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/core/impl/KeyInfoConfirmationDataTypeTest.java
index efe29b7e5..edb61bd7a 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/core/impl/KeyInfoConfirmationDataTypeTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/core/impl/KeyInfoConfirmationDataTypeTest.java
@@ -158,9 +158,10 @@ public class KeyInfoConfirmationDataTypeTest extends XMLObjectProviderBaseTestCa
                 XMLObjectProviderRegistrySupport.getBuilderFactory().<KeyInfoConfirmationDataType>ensureBuilder(
                         KeyInfoConfirmationDataType.TYPE_NAME);
         
-        if(builder == null){
+        if (builder == null) {
             Assert.fail("Unable to retrieve builder for object QName " + KeyInfoConfirmationDataType.TYPE_NAME);
         }
+        assert builder != null;
         return builder.buildObject();
     }
 

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


More information about the commits mailing list