diff options
author | 2020-09-21 08:03:31 +0200 | |
---|---|---|
committer | 2020-09-21 08:03:31 +0200 | |
commit | 5ac128870714f05bed81372497ada1b881fd791b (patch) | |
tree | 42b951db7e970d2f4ee4ef86a0df746556e82b0f /certServicePostProcessor | |
parent | f8ce5f7332bd79b584ddd45ed8062cfdb5a938f3 (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: Ie68c35e232504d012d4bf1d73ae775b2c0742d96
Diffstat (limited to 'certServicePostProcessor')
-rw-r--r-- | certServicePostProcessor/src/main/java/org/onap/oom/certservice/postprocessor/common/FileTools.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |