From c9c98ec078856ce22ba6a701a83d5457fc15b82e Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Mon, 17 Sep 2018 15:58:59 +0530 Subject: X509andChain.java: Fixed sonar issues Sonar link: https://sonar.onap.org/code?id=org.onap.aaf.authz%3Aparent&selected=org.onap.aaf.authz%3Aaaf-auth-certman%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Faaf%2Fauth%2Fcm%2Fca%2FX509andChain.java Issue-ID: AAF-500 Change-Id: Ieca0921f564ca0d243a1c4d4ac9a2777b81edbee Signed-off-by: Arundathi Patil --- .../src/main/java/org/onap/aaf/auth/cm/ca/X509andChain.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'auth') diff --git a/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/X509andChain.java b/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/X509andChain.java index 7eb88bd2..9a0e1c0d 100644 --- a/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/X509andChain.java +++ b/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/X509andChain.java @@ -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 chain) throws IOException, CertException { + public X509andChain(X509Certificate cert, List chain) { this.cert = cert; trustChain = new String[chain.size()+1]; chain.toArray(trustChain); -- cgit 1.2.3-korg