From: Kanagaraj Manickam Date: Fri, 8 Apr 2022 04:13:09 +0000 (+0000) Subject: Merge "Removed the declaration of thrown exceptions that cannot be thrown from method... X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=a94a9d330d17b1076d4576249348d33ff0443e6a;hp=05f9d80976a18e7329d199acca67cc381bfbae30;p=cli.git Merge "Removed the declaration of thrown exceptions that cannot be thrown from method's body" --- diff --git a/framework/src/main/java/org/onap/cli/fw/store/OnapCommandArtifactStore.java b/framework/src/main/java/org/onap/cli/fw/store/OnapCommandArtifactStore.java index 3b6e7853..3f59074a 100644 --- a/framework/src/main/java/org/onap/cli/fw/store/OnapCommandArtifactStore.java +++ b/framework/src/main/java/org/onap/cli/fw/store/OnapCommandArtifactStore.java @@ -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()); }