diff options
author | tkogut <tomasz.kogut@nokia.com> | 2020-09-15 14:57:10 +0200 |
---|---|---|
committer | tkogut <tomasz.kogut@nokia.com> | 2020-09-16 13:10:53 +0200 |
commit | 2f07cb2a72ede37c6cc54df5a81f0b6a28977f50 (patch) | |
tree | 2ea063189374f0fddf87fc5c819c9b82612a0e51 | |
parent | 8ceb792397f1581352f2f67cd5f4a958ac644ae1 (diff) |
[OOM-CPMv2] Fix sonar issue
Remove the declaration of thrown exception
Issue-ID: OOM-2526
Signed-off-by: tkogut <tomasz.kogut@nokia.com>
Change-Id: Ifab5c8eca6f78f00eafd79220abc64c413677ca6
-rw-r--r-- | trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/common/PasswordReader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/common/PasswordReader.java b/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/common/PasswordReader.java index 503e21b8..6e4a5f3a 100644 --- a/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/common/PasswordReader.java +++ b/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/common/PasswordReader.java @@ -31,7 +31,7 @@ public final class PasswordReader { private PasswordReader() { } - public static String readPassword(File file) throws PasswordReaderException { + public static String readPassword(File file) { try { return Files.readString(file.toPath()); } catch (IOException e) { |