diff options
author | sharath reddy <bs.reddy@huawei.com> | 2022-04-07 12:52:59 +0530 |
---|---|---|
committer | sharath reddy <bs.reddy@huawei.com> | 2022-04-07 12:54:14 +0530 |
commit | 58a76d48f5806c89be4987727d4d7bb8cd501f32 (patch) | |
tree | 1f213208ff6bf96f2ff6951eb94d35b2edfe9976 /framework/src | |
parent | 72066573dfc31cecc274a38b7c75ea05e29680a4 (diff) |
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 <bs.reddy@huawei.com>
Change-Id: If0bcd9047eb4746fdbce23f4443460c699b86342
Diffstat (limited to 'framework/src')
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/store/OnapCommandArtifactStore.java | 2 |
1 files changed, 1 insertions, 1 deletions
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()); } |