[java-identity-provider] 12/23: Cleanup null warning on test
Scott Cantor
cantor.2 at osu.edu
Mon Mar 17 15:03:51 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch maint-5.1
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=179420d532ae3622206d6980bafcfa7dad705211
commit 179420d532ae3622206d6980bafcfa7dad705211
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