[java-shib-attribute] 01/02: Checkstyle

Codeberg noreply at shibboleth.net
Tue Apr 28 18:40:52 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-attribute.

View the commit online:
https://codeberg.org/Shibboleth/java-shib-attribute/commit/f707458d1c24997aeb33f97413e05a049071f0f8

commit f707458d1c24997aeb33f97413e05a049071f0f8
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Apr 28 19:40:04 2026 +0100

    Checkstyle
---
 .../idp/attribute/resolver/dc/saml/impl/ExecutableQueryBuilder.java    | 2 --
 .../attribute/resolver/dc/saml/util/impl/DecryptionProcessorTest.java  | 3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/saml/impl/ExecutableQueryBuilder.java b/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/saml/impl/ExecutableQueryBuilder.java
index 803d90689..781727d73 100644
--- a/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/saml/impl/ExecutableQueryBuilder.java
+++ b/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/saml/impl/ExecutableQueryBuilder.java
@@ -34,8 +34,6 @@ import org.opensaml.messaging.context.MessageContext;
 import org.opensaml.saml.common.SAMLException;
 import org.opensaml.saml.common.SAMLObject;
 import org.opensaml.saml.common.binding.EndpointResolver;
-import org.opensaml.saml.common.messaging.context.SAMLPeerEntityContext;
-import org.opensaml.saml.common.messaging.context.SAMLSelfEntityContext;
 import org.opensaml.saml.common.messaging.soap.SAMLSOAPClientContextBuilder;
 import org.opensaml.saml.common.xml.SAMLConstants;
 import org.opensaml.saml.criterion.EndpointCriterion;
diff --git a/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/dc/saml/util/impl/DecryptionProcessorTest.java b/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/dc/saml/util/impl/DecryptionProcessorTest.java
index 87caa9f0d..0a4f527e2 100644
--- a/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/dc/saml/util/impl/DecryptionProcessorTest.java
+++ b/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/dc/saml/util/impl/DecryptionProcessorTest.java
@@ -126,6 +126,7 @@ public class DecryptionProcessorTest extends XMLObjectBaseTestCase {
         processor.initialize();
         
         final Decrypter decrypter = processor.buildDecrypter(responseData);
+        Assert.fail(decrypter.toString() + ": Should not get here");
     }
 
     @Test
@@ -339,6 +340,8 @@ public class DecryptionProcessorTest extends XMLObjectBaseTestCase {
         final EncryptedID encryptedID = encrypter.encrypt(SAMLDataConnectorTestingSupport.buildNameID());
 
         final NameID nameID = processor.decryptEncryptedID(encryptedID, decrypter);
+        Assert.fail(nameID.toString() + ": Should not get here");
+
     }
 
     @Test

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


More information about the commits mailing list