summaryrefslogtreecommitdiffstats
path: root/profiles
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2020-08-06 03:27:35 +0000
committerGerrit Code Review <gerrit@onap.org>2020-08-06 03:27:35 +0000
commit29e3d400b200b0567caa6c5768d51ebc2ce2a891 (patch)
tree898d66b059c384909a2bda622e45d1036cca45d6 /profiles
parent85d106fbd8da63243157c4d79b45c13c9c2d7a2f (diff)
parent2bdd4f82bb6d2d7928044228bf0893cf6aa5921d (diff)
Merge "Code improvement - Pending sonar issues"
Diffstat (limited to 'profiles')
-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) {