aboutsummaryrefslogtreecommitdiffstats
path: root/profiles/http/src/main
diff options
context:
space:
mode:
authorpriyanka.akhade <priyanka.akhade@huawei.com>2020-08-04 19:07:52 +0530
committerpriyanka.akhade <priyanka.akhade@huawei.com>2020-08-05 16:46:32 +0530
commit2bdd4f82bb6d2d7928044228bf0893cf6aa5921d (patch)
tree491e2cbaa8ffaf31789d6774b6bb260c2d860612 /profiles/http/src/main
parent6941680edbc46f1525ef739305f11781d1ddd70a (diff)
Code improvement - Pending sonar issues
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I11bff3e6fa5f3299ee3ad0f7bf5d3e42ee7a704c
Diffstat (limited to 'profiles/http/src/main')
-rw-r--r--profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java2
-rw-r--r--profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java b/profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java
index 95ad7266..0ab09c99 100644
--- a/profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java
+++ b/profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java
@@ -76,7 +76,7 @@ import javax.net.ssl.HostnameVerifier;
*/
public class OnapHttpConnection {
- private static Logger log = LoggerFactory.getLogger(OnapHttpConnection.class);
+ private static Logger log = LoggerFactory.getLogger(OnapHttpConnection.class); //NOSONAR
private CloseableHttpClient httpClient = null;
diff --git a/profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java b/profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java
index 35501208..a539ae16 100644
--- a/profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java
+++ b/profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java
@@ -113,7 +113,7 @@ public class OnapCommandSchemaHttpLoader {
Map<String, ?> map = (Map<String, ?>) valMap.get(key1);
for (Map.Entry<String, ?> entry2 : map.entrySet()) {
- try {
+ try { //NOSONAR
String key2 = entry2.getKey();
switch (key2) {