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

Closes PR #593
This commit is contained in:
Xiaoyu Yao 2019-03-12 09:34:18 -07:00 committed by Ajay Yadav
parent c24af4b0d6
commit 2778259b88
2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -20,7 +20,6 @@ package org.apache.hadoop.ozone.client.protocol;
import com.google.common.annotations.VisibleForTesting; import com.google.common.annotations.VisibleForTesting;
import org.apache.hadoop.hdds.protocol.StorageType; import org.apache.hadoop.hdds.protocol.StorageType;
import org.apache.hadoop.hdds.scm.ScmConfigKeys;
import org.apache.hadoop.io.Text; import org.apache.hadoop.io.Text;
import org.apache.hadoop.ozone.OzoneAcl; import org.apache.hadoop.ozone.OzoneAcl;
import org.apache.hadoop.ozone.client.*; import org.apache.hadoop.ozone.client.*;