From 2f07cb2a72ede37c6cc54df5a81f0b6a28977f50 Mon Sep 17 00:00:00 2001 From: tkogut Date: Tue, 15 Sep 2020 14:57:10 +0200 Subject: [OOM-CPMv2] Fix sonar issue Remove the declaration of thrown exception Issue-ID: OOM-2526 Signed-off-by: tkogut Change-Id: Ifab5c8eca6f78f00eafd79220abc64c413677ca6 --- .../org/onap/oom/certservice/postprocessor/common/PasswordReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit 1.2.3-korg