aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/main/java/org/onap
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-09-18 12:28:09 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-09-18 12:28:09 +0530
commitc8c451d2e1214e4b44d8693dd13e03987baab4e2 (patch)
tree9d5cf6ee33d04a89e765a8eefcf970998fb2ec6e /framework/src/main/java/org/onap
parentdfeb8e23c04bc94050f95c95458605fb4c3cb6d5 (diff)
Fix sonar coverage issues
CLI-43 Change-Id: I7dc674db9ffc0bd2281003b3a680e52a0af9baab Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework/src/main/java/org/onap')
-rw-r--r--framework/src/main/java/org/onap/cli/fw/input/cache/OnapCommandParameterCache.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/input/cache/OnapCommandParameterCache.java b/framework/src/main/java/org/onap/cli/fw/input/cache/OnapCommandParameterCache.java
index f8afd549..1d9cb549 100644
--- a/framework/src/main/java/org/onap/cli/fw/input/cache/OnapCommandParameterCache.java
+++ b/framework/src/main/java/org/onap/cli/fw/input/cache/OnapCommandParameterCache.java
@@ -95,7 +95,7 @@ public class OnapCommandParameterCache {
try {
OnapCommandUtils.persistParams(params, this.profileName);
} catch (OnapCommandPersistProfileFailed e) {
- throw new RuntimeException(e);
+ throw new RuntimeException(e); // NOSONAR
}
}
@@ -104,7 +104,7 @@ public class OnapCommandParameterCache {
try {
params = OnapCommandUtils.loadParamFromCache(this.profileName);
} catch (OnapCommandLoadProfileFailed e) {
- throw new RuntimeException(e);
+ throw new RuntimeException(e); // NOSONAR
}
for (Param p : params) {