[java-shib-attribute] branch main updated: Consolidate exception signature on Jetty test class.

Codeberg noreply at shibboleth.net
Mon Aug 3 12:35:01 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/7ff54586b6714fefec16a8cc473b577f2c8525f5

The following commit(s) were added to refs/heads/main by this push:
     new 7ff54586b Consolidate exception signature on Jetty test class.
7ff54586b is described below

commit 7ff54586b6714fefec16a8cc473b577f2c8525f5
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Mon Aug 3 08:34:51 2026 -0400

    Consolidate exception signature on Jetty test class.
---
 .../idp/attribute/resolver/dc/http/impl/HTTPDataConnectorTest.java    | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/dc/http/impl/HTTPDataConnectorTest.java b/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/dc/http/impl/HTTPDataConnectorTest.java
index e748adee0..2e930fdc0 100644
--- a/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/dc/http/impl/HTTPDataConnectorTest.java
+++ b/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/dc/http/impl/HTTPDataConnectorTest.java
@@ -19,9 +19,7 @@ import static org.testng.Assert.assertTrue;
 
 import java.io.IOException;
 import java.io.InputStream;
-import java.net.SocketException;
 import java.net.URISyntaxException;
-import java.net.UnknownHostException;
 import java.security.cert.CertificateException;
 import java.security.cert.X509Certificate;
 import java.util.Map;
@@ -82,7 +80,7 @@ public class HTTPDataConnectorTest {
     private HTTPDataConnector connector;
     
     @BeforeClass
-    public void startJetty() throws UnknownHostException, SocketException {
+    public void startJetty() throws IOException {
         jetty = new EmbeddedJetty();
         final EmbeddedJetty.ResourceHandler handler = new EmbeddedJetty.ResourceHandler(200,
                 ResourceHelper.of(new ClassPathResource("net/shibboleth/idp/attribute/resolver/impl/dc/http/test.json")));

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


More information about the commits mailing list