Jelajahi Sumber

HDDS-1253. Fix checkstyle issue from Nightly run. Contributed by Xiaoyu Yao. (#593)

Closes PR #593

(cherry picked from commit 2778259b88246359bcdb03496568e0a7f45da391)
Xiaoyu Yao 6 tahun lalu
induk
melakukan
262260fadf

+ 2 - 2
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/security/x509/certificate/authority/DefaultCAServer.java

@@ -246,8 +246,8 @@ public class DefaultCAServer implements CertificateServer {
     return xcertHolder;
   }
 
-  private X509CertificateHolder signAndStoreCertificate(LocalDate beginDate, LocalDate endDate,
-      PKCS10CertificationRequest csr) throws IOException,
+  private X509CertificateHolder signAndStoreCertificate(LocalDate beginDate,
+      LocalDate endDate, PKCS10CertificationRequest csr) throws IOException,
       OperatorCreationException, CertificateException {
     X509CertificateHolder xcert = approver.sign(config,
         getCAKeys().getPrivate(),