aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortkogut <tomasz.kogut@nokia.com>2020-09-17 09:35:32 +0200
committertkogut <tomasz.kogut@nokia.com>2020-09-17 09:35:32 +0200
commitfd37515cc78f3b86ca8301d21b4d696a5932dd3f (patch)
tree889d01178f4ca4388525f1bf6df9c3f81bc94499
parentdbe9528c1571b97728649b54e00be6ae947c23ef (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: I2803b5c3c5b89b1310428c80c6f963f7cb6fc24c
-rw-r--r--trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/model/Truststore.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/model/Truststore.java b/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/model/Truststore.java
index 51722d0e..058613a9 100644
--- a/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/model/Truststore.java
+++ b/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/model/Truststore.java
@@ -21,8 +21,6 @@ package org.onap.oom.certservice.postprocessor.merger.model;
import java.io.File;
import java.util.List;
-import org.onap.oom.certservice.postprocessor.merger.exception.CreateBackupException;
-import org.onap.oom.certservice.postprocessor.api.ExitableException;
import org.onap.oom.certservice.postprocessor.common.FileTools;
import org.onap.oom.certservice.postprocessor.merger.model.certificate.CertificateWithAlias;
@@ -37,13 +35,13 @@ public abstract class Truststore {
this.fileTools = fileTools;
}
- public void createBackup() throws CreateBackupException {
+ public void createBackup() {
fileTools.createBackup(storeFile);
}
- public abstract List<CertificateWithAlias> getCertificates() throws ExitableException;
+ public abstract List<CertificateWithAlias> getCertificates();
- public abstract void addCertificates(List<CertificateWithAlias> certificates) throws ExitableException;
+ public abstract void addCertificates(List<CertificateWithAlias> certificates);
- public abstract void saveFile() throws ExitableException;
+ public abstract void saveFile();
}