diff options
author | 2020-09-17 09:32:26 +0200 | |
---|---|---|
committer | 2020-09-17 09:32:26 +0200 | |
commit | b35136cfb568eaa3ef49bd88c8fc68d02ddede33 (patch) | |
tree | a90cf751bcce7791bea85c28facdea2f5f07f9e5 /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: I4a851dd1994038b09e87fdefbfbcb96d1227f730
Diffstat (limited to 'trustStoreMerger')
-rw-r--r-- | trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/TruststoreMerger.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/TruststoreMerger.java b/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/TruststoreMerger.java index 9bc3dd82..3cf60da1 100644 --- a/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/TruststoreMerger.java +++ b/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/TruststoreMerger.java @@ -20,7 +20,6 @@ package org.onap.oom.certservice.postprocessor.merger; import java.util.List; -import org.onap.oom.certservice.postprocessor.api.ExitableException; import org.onap.oom.certservice.postprocessor.configuration.model.AppConfiguration; import org.onap.oom.certservice.postprocessor.merger.model.Truststore; import org.onap.oom.certservice.postprocessor.merger.model.certificate.CertificateWithAlias; @@ -30,7 +29,7 @@ public class TruststoreMerger { private static final int FIRST_TRUSTSTORE_INDEX = 0; private static final int SECOND_TRUSTSTORE_INDEX = 1; - public void mergeTruststores(AppConfiguration configuration) throws ExitableException { + public void mergeTruststores(AppConfiguration configuration) { List<Truststore> truststoreFilesList = getTruststoreFiles(configuration); Truststore baseFile = truststoreFilesList.get(FIRST_TRUSTSTORE_INDEX); @@ -45,7 +44,7 @@ public class TruststoreMerger { baseFile.saveFile(); } - private List<Truststore> getTruststoreFiles(AppConfiguration configuration) throws ExitableException { + private List<Truststore> getTruststoreFiles(AppConfiguration configuration) { return TruststoreFilesProvider .getTruststoreFiles( configuration.getTruststoreFilePaths(), |