Merge "Removed the declaration of thrown exceptions that cannot be thrown from method...
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>
Fri, 8 Apr 2022 04:13:09 +0000 (04:13 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 8 Apr 2022 04:13:09 +0000 (04:13 +0000)
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());
         }