summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2020-09-18 06:04:00 +0000
committerGerrit Code Review <gerrit@onap.org>2020-09-18 06:04:00 +0000
commit2301b56848ebc2ef7a261920c646148d9796dc7d (patch)
tree5e9a781a15d44e7de0b7fc1064ce5db38cb50423
parent8ce3e4f97ac89960dd63a1f967dc3516a1b38c8d (diff)
parent578129121934e0ee92fe26de52871cf9783dcce2 (diff)
Merge "[OOM-CPMv2] Fix sonar issue"
-rw-r--r--trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/model/JavaTruststoreFactory.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/model/JavaTruststoreFactory.java b/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/model/JavaTruststoreFactory.java
index c36510c6..4740d0f6 100644
--- a/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/model/JavaTruststoreFactory.java
+++ b/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/merger/model/JavaTruststoreFactory.java
@@ -23,8 +23,6 @@ import java.io.File;
import java.security.KeyStore;
import java.security.KeyStoreException;
import org.onap.oom.certservice.postprocessor.merger.exception.KeystoreInstanceException;
-import org.onap.oom.certservice.postprocessor.merger.exception.LoadTruststoreException;
-import org.onap.oom.certservice.postprocessor.merger.exception.PasswordReaderException;
import org.onap.oom.certservice.postprocessor.common.PasswordReader;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -36,8 +34,7 @@ public class JavaTruststoreFactory {
private JavaTruststoreFactory() {
}
- public static Truststore create(File certFile, String truststorePasswordPath, String keystoreType)
- throws LoadTruststoreException, KeystoreInstanceException, PasswordReaderException {
+ public static Truststore create(File certFile, String truststorePasswordPath, String keystoreType) {
String password = PasswordReader.readPassword(new File(truststorePasswordPath));
try {
return JavaTruststore