Skip to content

Commit

Permalink
Fixed annotation; #206
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Jan 4, 2024
1 parent 776b7dd commit 56e8053
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import java.time.OffsetDateTime;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

import com.helger.peppol.utils.EPeppolCertificateCheckResult;

Expand All @@ -35,7 +36,7 @@ public interface IPhase4PeppolCertificateCheckResultHandler
* Invoked after certificate check.
*
* @param aAPCertificate
* The AP certificate that was checked. Never <code>null</code>.
* The AP certificate that was checked. May be <code>null</code>.
* @param aCheckDT
* The date and time that was used to check the certificate. Never
* <code>null</code>.
Expand All @@ -44,7 +45,7 @@ public interface IPhase4PeppolCertificateCheckResultHandler
* @throws Phase4PeppolException
* Implementation dependent
*/
void onCertificateCheckResult (@Nonnull X509Certificate aAPCertificate,
void onCertificateCheckResult (@Nullable X509Certificate aAPCertificate,
@Nonnull OffsetDateTime aCheckDT,
@Nonnull EPeppolCertificateCheckResult eCertCheckResult) throws Phase4PeppolException;
}

0 comments on commit 56e8053

Please sign in to comment.