[java-opensaml] branch main updated: IDP-2069 Null handling

Rod Widdowson rdw at steadingsoftware.com
Thu Feb 23 19:29:04 UTC 2023


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

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

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

The following commit(s) were added to refs/heads/main by this push:
     new c3d51dd0e IDP-2069 Null handling
c3d51dd0e is described below

commit c3d51dd0ed231a0f16cc60d0f3ac1ee2ccb0c77f
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu Feb 23 19:32:00 2023 +0000

    IDP-2069 Null handling
    
    https://shibboleth.atlassian.net/browse/IDP-2069
    
    Clear up a couple of annotations
---
 .../src/main/java/org/opensaml/security/x509/X509Support.java         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/opensaml-security-api/src/main/java/org/opensaml/security/x509/X509Support.java b/opensaml-security-api/src/main/java/org/opensaml/security/x509/X509Support.java
index d9b24cb1a..141596b66 100644
--- a/opensaml-security-api/src/main/java/org/opensaml/security/x509/X509Support.java
+++ b/opensaml-security-api/src/main/java/org/opensaml/security/x509/X509Support.java
@@ -297,7 +297,7 @@ public class X509Support {
      * 
      * @since 1.2
      */
-    @Nullable public static Collection<X509Certificate> decodeCertificates(@Nonnull final File certs)
+    @Nonnull public static Collection<X509Certificate> decodeCertificates(@Nonnull final File certs)
             throws CertificateException {
         Constraint.isNotNull(certs, "Input file cannot be null");
         if (!certs.exists()) {
@@ -346,7 +346,7 @@ public class X509Support {
      * 
      * @throws CertificateException thrown if the certificates cannot be decoded
      */
-    @Nullable public static Collection<X509Certificate> decodeCertificates(@Nonnull final byte[] certs)
+    @Nonnull public static Collection<X509Certificate> decodeCertificates(@Nonnull final byte[] certs)
             throws CertificateException {
         try {
             return Arrays.asList(CertUtil.decodeCertificateChain(certs));

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


More information about the commits mailing list