[OOM-CPMv2] Fix sonar issue 91/112691/4
authortkogut <tomasz.kogut@nokia.com>
Tue, 15 Sep 2020 12:06:49 +0000 (14:06 +0200)
committertkogut <tomasz.kogut@nokia.com>
Wed, 16 Sep 2020 11:07:55 +0000 (13:07 +0200)
Remove the declaration of thrown exception

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

trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/CertificatePostProcessor.java

index 99a66c4..b903822 100644 (file)
@@ -19,7 +19,6 @@
 
 package org.onap.oom.certservice.postprocessor;
 
-import org.onap.oom.certservice.postprocessor.api.ExitableException;
 import org.onap.oom.certservice.postprocessor.common.FileTools;
 import org.onap.oom.certservice.postprocessor.configuration.AppConfigurationLoader;
 import org.onap.oom.certservice.postprocessor.configuration.model.AppConfiguration;
@@ -36,7 +35,7 @@ class CertificatePostProcessor implements Runnable {
     private TruststoreMerger merger = new TruststoreMerger();
     private KeystoreCopier copier = new KeystoreCopier(new FileTools());
 
-    public void run() throws ExitableException {
+    public void run() {
         LOGGER.debug("Loading configuration...");
         AppConfiguration configuration = config.loadConfiguration();
         LOGGER.debug("Starting TruststoreMerger...");