Removed the declaration of thrown exceptions that cannot be thrown from method's... 50/128350/1
authorsharath reddy <bs.reddy@huawei.com>
Thu, 7 Apr 2022 07:22:59 +0000 (12:52 +0530)
committersharath reddy <bs.reddy@huawei.com>
Thu, 7 Apr 2022 07:24:14 +0000 (12:54 +0530)
Issue-ID: CLI-439

report: tested weather-report, execution-list

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: If0bcd9047eb4746fdbce23f4443460c699b86342

framework/src/main/java/org/onap/cli/fw/store/OnapCommandArtifactStore.java

index 3b6e785..3f59074 100644 (file)
@@ -259,7 +259,7 @@ public class OnapCommandArtifactStore {
         }
     }
 
-    public Artifact setArtifact(Artifact artifact, Artifact existing) throws OnapCommandArtifactNotFound, OnapCommandArtifactContentNotExist, OnapCommandArtifactAlreadyExist, IOException, NoSuchAlgorithmException {
+    public Artifact setArtifact(Artifact artifact, Artifact existing) throws OnapCommandArtifactContentNotExist, IOException, NoSuchAlgorithmException {
         if (artifact.getName() == null) {
             artifact.setName(existing.getName());
         }