Merge "X509andChain.java: Fixed sonar issues"
authorJonathan Gathman <jonathan.gathman@att.com>
Tue, 18 Sep 2018 11:43:17 +0000 (11:43 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 18 Sep 2018 11:43:17 +0000 (11:43 +0000)
auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/X509andChain.java

index 7eb88bd..9a0e1c0 100644 (file)
@@ -45,12 +45,12 @@ public class X509andChain {
         trustChain = null;
     }
     
-    public X509andChain(X509Certificate cert, String[] tc) throws IOException, CertException {
+    public X509andChain(X509Certificate cert, String[] tc) {
         this.cert = cert;
         trustChain=tc;
     }
 
-    public X509andChain(X509Certificate cert, List<String> chain) throws IOException, CertException {
+    public X509andChain(X509Certificate cert, List<String> chain) {
         this.cert = cert;
         trustChain = new String[chain.size()+1];
         chain.toArray(trustChain);