[OOM-CPMv2] Fix sonar issue 94/112694/3
authortkogut <tomasz.kogut@nokia.com>
Tue, 15 Sep 2020 12:57:10 +0000 (14:57 +0200)
committertkogut <tomasz.kogut@nokia.com>
Wed, 16 Sep 2020 11:10:53 +0000 (13:10 +0200)
Remove the declaration of thrown exception

Issue-ID: OOM-2526
Signed-off-by: tkogut <tomasz.kogut@nokia.com>
Change-Id: Ifab5c8eca6f78f00eafd79220abc64c413677ca6

trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/common/PasswordReader.java

index 503e21b..6e4a5f3 100644 (file)
@@ -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) {