HDDS-1253. Fix checkstyle issue from Nightly run. Contributed by Xiaoyu Yao. (#593)
Closes PR #593
This commit is contained in:
parent
c24af4b0d6
commit
2778259b88
|
@ -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(),
|
||||||
|
|
|
@ -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.*;
|
||||||
|
|
Loading…
Reference in New Issue