diff options
author | tkogut <tomasz.kogut@nokia.com> | 2020-09-17 09:19:46 +0200 |
---|---|---|
committer | tkogut <tomasz.kogut@nokia.com> | 2020-09-17 09:19:46 +0200 |
commit | d844c3a690a384aa3bcec0d59e82d202af6c3996 (patch) | |
tree | 6429d2d8ca6a1b9d61c614283780ec96fc51cb54 /trustStoreMerger | |
parent | dbe9528c1571b97728649b54e00be6ae947c23ef (diff) |
[OOM-CPMv2] Fix sonar issue
Remove the declarations of thrown exceptions
Issue-ID: OOM-2526
Signed-off-by: tkogut <tomasz.kogut@nokia.com>
Change-Id: I3badea6cbf73f9ae3035a6257cdc9bde19b38b56
Diffstat (limited to 'trustStoreMerger')
-rw-r--r-- | trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/TruststoreFilesProvider.java | 7 |
1 files changed, 1 insertions, 6 deletions
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<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); |