From 2bdd4f82bb6d2d7928044228bf0893cf6aa5921d Mon Sep 17 00:00:00 2001 From: "priyanka.akhade" Date: Tue, 4 Aug 2020 19:07:52 +0530 Subject: Code improvement - Pending sonar issues Signed-off-by: priyanka.akhade Issue-ID: CLI-270 Change-Id: I11bff3e6fa5f3299ee3ad0f7bf5d3e42ee7a704c --- .../src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java | 2 +- .../java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'profiles/http/src') 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 map = (Map) valMap.get(key1); for (Map.Entry entry2 : map.entrySet()) { - try { + try { //NOSONAR String key2 = entry2.getKey(); switch (key2) { -- cgit 1.2.3-korg