[OOM-CPMv2] Fix sonar issue 09/112909/1
authortkogut <tomasz.kogut@nokia.com>
Mon, 21 Sep 2020 06:03:31 +0000 (08:03 +0200)
committertkogut <tomasz.kogut@nokia.com>
Mon, 21 Sep 2020 06:03:31 +0000 (08:03 +0200)
Remove the declaration of thrown exception

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

certServicePostProcessor/src/main/java/org/onap/oom/certservice/postprocessor/common/FileTools.java

index 620d808..673a3f6 100644 (file)
@@ -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  {