Sonar Fix: CertResp.java 72/74172/1
authorArundathi Patil <arundpil@in.ibm.com>
Tue, 4 Dec 2018 04:49:08 +0000 (10:19 +0530)
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>
Tue, 4 Dec 2018 04:49:30 +0000 (10:19 +0530)
Fixed sonar issues/code-smells across this file.

Issue-ID: AAF-660
Change-Id: I089d3094ff2212b44ebf2065fb0579e49c6aeb73
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/data/CertResp.java

index 874019d..71ccf3c 100644 (file)
@@ -42,7 +42,7 @@ public class CertResp {
     private String[] trustChain;
     private String[] notes;
     
-    public CertResp(Trans trans, CA ca, X509Certificate x509, CSRMeta csrMeta, String[] trustChain, String[] notes) throws IOException, GeneralSecurityException, CertException {
+    public CertResp(Trans trans, CA ca, X509Certificate x509, CSRMeta csrMeta, String[] trustChain, String[] notes) throws IOException, CertException {
         keyPair = csrMeta.keypair(trans);
         privateKey = Factory.toString(trans, keyPair.getPrivate());
         certString = Factory.toString(trans,x509);