diff options
author | 2020-09-18 06:04:26 +0000 | |
---|---|---|
committer | 2020-09-18 06:04:26 +0000 | |
commit | c5ff1304c6fd146a5572db41f7009aea88cdc48d (patch) | |
tree | 31b83db18c2fa2b5b7037c2a4a6b12fd1be2750f /trustStoreMerger | |
parent | 2301b56848ebc2ef7a261920c646148d9796dc7d (diff) | |
parent | b35136cfb568eaa3ef49bd88c8fc68d02ddede33 (diff) |
Merge "[OOM-CPMv2] Fix sonar issue"
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(), |