[java-identity-provider] branch main updated: Cleanup null warning on test

Rod Widdowson rdw at steadingsoftware.com
Wed Oct 2 07:58:56 UTC 2024


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

rdw pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=4b0cef4adc1245c5bd34c2e4cf64a29ee2ebec59

The following commit(s) were added to refs/heads/main by this push:
     new 4b0cef4ad Cleanup null warning on test
4b0cef4ad is described below

commit 4b0cef4adc1245c5bd34c2e4cf64a29ee2ebec59
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Oct 2 08:58:51 2024 +0100

    Cleanup null warning on test
---
 .../java/net/shibboleth/idp/installer/plugin/impl/TrustStoreTest.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/idp-installer/src/test/java/net/shibboleth/idp/installer/plugin/impl/TrustStoreTest.java b/idp-installer/src/test/java/net/shibboleth/idp/installer/plugin/impl/TrustStoreTest.java
index 822a9c5b4..313280c86 100644
--- a/idp-installer/src/test/java/net/shibboleth/idp/installer/plugin/impl/TrustStoreTest.java
+++ b/idp-installer/src/test/java/net/shibboleth/idp/installer/plugin/impl/TrustStoreTest.java
@@ -127,6 +127,7 @@ public class TrustStoreTest {
             assert badSigStream!= null && sigStream != null;
             final Signature badSig = TrustStore.signatureOf(badSigStream);
             assertTrue(ts.contains(badSig));
+            assert dataStream != null && dataStream2 != null;
             assertFalse(ts.checkSignature(dataStream, badSig));
             assertTrue(ts.checkSignature(dataStream2, TrustStore.signatureOf(sigStream)));
          }

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


More information about the commits mailing list