From: tkogut Date: Thu, 17 Sep 2020 07:19:46 +0000 (+0200) Subject: [OOM-CPMv2] Fix sonar issue X-Git-Tag: 2.1.0~7^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=d844c3a690a384aa3bcec0d59e82d202af6c3996;p=oom%2Fplatform%2Fcert-service.git [OOM-CPMv2] Fix sonar issue Remove the declarations of thrown exceptions Issue-ID: OOM-2526 Signed-off-by: tkogut Change-Id: I3badea6cbf73f9ae3035a6257cdc9bde19b38b56 --- diff --git a/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/TruststoreFilesProvider.java b/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/TruststoreFilesProvider.java index 59800b13..9e30bd44 100644 --- a/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/TruststoreFilesProvider.java +++ b/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/TruststoreFilesProvider.java @@ -21,10 +21,6 @@ package org.onap.oom.certservice.postprocessor.merger; import java.util.ArrayList; import java.util.List; -import org.onap.oom.certservice.postprocessor.merger.exception.KeystoreInstanceException; -import org.onap.oom.certservice.postprocessor.merger.exception.LoadTruststoreException; -import org.onap.oom.certservice.postprocessor.merger.exception.PasswordReaderException; -import org.onap.oom.certservice.postprocessor.merger.exception.TruststoreFileFactoryException; import org.onap.oom.certservice.postprocessor.merger.model.Truststore; import org.onap.oom.certservice.postprocessor.merger.model.TruststoreFactory; @@ -35,8 +31,7 @@ public class TruststoreFilesProvider { } public static List getTruststoreFiles(List truststoreFilePaths, - List truststoreFilePasswordPaths) - throws LoadTruststoreException, PasswordReaderException, TruststoreFileFactoryException, KeystoreInstanceException { + List truststoreFilePasswordPaths) { List truststoreFiles = new ArrayList<>(); for (int i = 0; i < truststoreFilePaths.size(); i++) { String truststorePath = truststoreFilePaths.get(i);