[OOM-CPMv2] Fix sonar issue 89/112789/1
authortkogut <tomasz.kogut@nokia.com>
Thu, 17 Sep 2020 07:19:46 +0000 (09:19 +0200)
committertkogut <tomasz.kogut@nokia.com>
Thu, 17 Sep 2020 07:19:46 +0000 (09:19 +0200)
Remove the declarations of thrown exceptions

Issue-ID: OOM-2526
Signed-off-by: tkogut <tomasz.kogut@nokia.com>
Change-Id: I3badea6cbf73f9ae3035a6257cdc9bde19b38b56

trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/TruststoreFilesProvider.java

index 59800b1..9e30bd4 100644 (file)
@@ -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<Truststore> getTruststoreFiles(List<String> truststoreFilePaths,
-        List<String> truststoreFilePasswordPaths)
-        throws LoadTruststoreException, PasswordReaderException, TruststoreFileFactoryException, KeystoreInstanceException {
+                                                      List<String> truststoreFilePasswordPaths) {
         List<Truststore> truststoreFiles = new ArrayList<>();
         for (int i = 0; i < truststoreFilePaths.size(); i++) {
             String truststorePath = truststoreFilePaths.get(i);