[java-opensaml] branch main updated: Fix error in builder call.

Scott Cantor cantor.2 at osu.edu
Tue Oct 1 19:37:09 UTC 2024


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

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

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=e056fd1a00e20646918c21f6c258b60a00e4600a

The following commit(s) were added to refs/heads/main by this push:
     new e056fd1a0 Fix error in builder call.
e056fd1a0 is described below

commit e056fd1a00e20646918c21f6c258b60a00e4600a
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Oct 1 15:37:06 2024 -0400

    Fix error in builder call.
---
 .../java/org/opensaml/saml/saml2/testing/SAML2ActionTestingSupport.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opensaml-testing/src/main/java/org/opensaml/saml/saml2/testing/SAML2ActionTestingSupport.java b/opensaml-testing/src/main/java/org/opensaml/saml/saml2/testing/SAML2ActionTestingSupport.java
index 3b8041e09..04bbb547f 100644
--- a/opensaml-testing/src/main/java/org/opensaml/saml/saml2/testing/SAML2ActionTestingSupport.java
+++ b/opensaml-testing/src/main/java/org/opensaml/saml/saml2/testing/SAML2ActionTestingSupport.java
@@ -423,7 +423,7 @@ public class SAML2ActionTestingSupport {
     @Nonnull public static Status buildStatus(@Nonnull final String codeString, @Nullable final String subcodeString) {
         final SAMLObjectBuilder<StatusCode> codeBuilder = (SAMLObjectBuilder<StatusCode>)
                 XMLObjectProviderRegistrySupport.getBuilderFactory().<StatusCode>ensureBuilder(
-                        Status.DEFAULT_ELEMENT_NAME);
+                        StatusCode.DEFAULT_ELEMENT_NAME);
         final SAMLObjectBuilder<Status> statusBuilder = (SAMLObjectBuilder<Status>)
                 XMLObjectProviderRegistrySupport.getBuilderFactory().<Status>ensureBuilder(
                         Status.DEFAULT_ELEMENT_NAME);

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


More information about the commits mailing list