From 495ef3e1047017ba8c90958f80bdb4e9e265c9d6 Mon Sep 17 00:00:00 2001 From: akila94 Date: Thu, 4 Jan 2024 11:19:37 +0530 Subject: [PATCH] Refactor method comment --- .../CertificateVerificationManager.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/certificatevalidation/CertificateVerificationManager.java b/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/certificatevalidation/CertificateVerificationManager.java index 3ff125fd6d..ed70bc8f5a 100644 --- a/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/certificatevalidation/CertificateVerificationManager.java +++ b/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/certificatevalidation/CertificateVerificationManager.java @@ -241,10 +241,8 @@ private X509Certificate[] convert(javax.security.cert.X509Certificate[] certs) /** * Checks whether a provided certificate is expired or not at the time it is validated. * - * @param certificates - * @throws CertificateNotYetValidException - * @throws CertificateExpiredException - * @throws CertificateVerificationException + * @param certificates array of certificates needs to be validated + * @throws CertificateVerificationException if one of the certs are expired, this exception will be thrown */ public void isExpired(javax.security.cert.X509Certificate[] certificates) throws CertificateVerificationException {