summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2020-09-18 06:01:12 +0000
committerGerrit Code Review <gerrit@onap.org>2020-09-18 06:01:12 +0000
commit8ce3e4f97ac89960dd63a1f967dc3516a1b38c8d (patch)
treed7de58f8f5bea6b00f709aa4a4a13f986f85c03b
parentd87de754f80cf5cdd4a6be642566b972ec9dc4b7 (diff)
parentfd37515cc78f3b86ca8301d21b4d696a5932dd3f (diff)
Merge "[OOM-CPMv2] Fix sonar issue"
-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();
}