[java-metadata-aggregator] 02/03: Nullability fix

Ian Young ian at iay.org.uk
Tue Mar 26 11:20:17 UTC 2024


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

iay pushed a commit to branch main
in repository java-metadata-aggregator.

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

commit ee32fbcb891c273377b19863b0ac1981c4ce1c72
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Mon Mar 25 16:52:23 2024 +0000

    Nullability fix
---
 .../java/net/shibboleth/metadata/dom/saml/CRDetectionStageTest.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/mda-framework/src/test/java/net/shibboleth/metadata/dom/saml/CRDetectionStageTest.java b/mda-framework/src/test/java/net/shibboleth/metadata/dom/saml/CRDetectionStageTest.java
index 0371e83..40e4ea3 100644
--- a/mda-framework/src/test/java/net/shibboleth/metadata/dom/saml/CRDetectionStageTest.java
+++ b/mda-framework/src/test/java/net/shibboleth/metadata/dom/saml/CRDetectionStageTest.java
@@ -15,7 +15,6 @@
 
 package net.shibboleth.metadata.dom.saml;
 
-import java.io.InputStream;
 import java.util.ArrayList;
 import java.util.List;
 
@@ -66,7 +65,7 @@ public class CRDetectionStageTest extends BaseDOMTest {
         commentingParserPool.setIgnoreComments(false);
         commentingParserPool.initialize();
 
-        final InputStream input = getClasspathResource("comment.xml").getInputStream();
+        final var input = getClasspathResource("comment.xml").getInputStream();
         Assert.assertNotNull(input);
         final Element doc = commentingParserPool.parse(input).getDocumentElement();
         Assert.assertEquals(doc.getTagName(), "root");

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


More information about the commits mailing list