From 58a76d48f5806c89be4987727d4d7bb8cd501f32 Mon Sep 17 00:00:00 2001 From: sharath reddy Date: Thu, 7 Apr 2022 12:52:59 +0530 Subject: Removed the declaration of thrown exceptions that cannot be thrown from method's body Issue-ID: CLI-439 report: tested weather-report, execution-list Signed-off-by: sharath reddy Change-Id: If0bcd9047eb4746fdbce23f4443460c699b86342 --- .../src/main/java/org/onap/cli/fw/store/OnapCommandArtifactStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } -- cgit 1.2.3-korg