From 5ac128870714f05bed81372497ada1b881fd791b Mon Sep 17 00:00:00 2001 From: tkogut Date: Mon, 21 Sep 2020 08:03:31 +0200 Subject: [OOM-CPMv2] Fix sonar issue Remove the declaration of thrown exception Issue-ID: OOM-2526 Signed-off-by: tkogut Change-Id: Ie68c35e232504d012d4bf1d73ae775b2c0742d96 --- .../java/org/onap/oom/certservice/postprocessor/common/FileTools.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'certServicePostProcessor/src') diff --git a/certServicePostProcessor/src/main/java/org/onap/oom/certservice/postprocessor/common/FileTools.java b/certServicePostProcessor/src/main/java/org/onap/oom/certservice/postprocessor/common/FileTools.java index 620d8088..673a3f61 100644 --- a/certServicePostProcessor/src/main/java/org/onap/oom/certservice/postprocessor/common/FileTools.java +++ b/certServicePostProcessor/src/main/java/org/onap/oom/certservice/postprocessor/common/FileTools.java @@ -31,7 +31,7 @@ public final class FileTools { private static final Logger LOGGER = LoggerFactory.getLogger(FileTools.class); private static final String BACKUP_EXTENSION = ".bak"; - public void createBackup(File file) throws CreateBackupException { + public void createBackup(File file) { LOGGER.debug("Try to create a backup of the file: {}", file.getPath()); File backupFile = new File(file.getAbsolutePath() + BACKUP_EXTENSION); try { -- cgit 1.2.3-korg