From: Kanagaraj Manickam k00365106 Date: Thu, 26 Apr 2018 05:14:27 +0000 (+0530) Subject: Edit http connection headers map var X-Git-Tag: v2.0.2~94 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=42249b421aab454bec9766782bdac65572f2dce7;p=cli.git Edit http connection headers map var - Map init does not required to be typed - Make LOG var to follow stand. Issue-ID: CLI-100 Change-Id: I80ceee8f9d52283c93dc107cd0a0302294c89df2 Signed-off-by: Kanagaraj Manickam k00365106 --- 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 093f42b5..e5494537 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 @@ -75,11 +75,11 @@ import org.slf4j.LoggerFactory; */ public class OnapHttpConnection { - private static Logger LOG = LoggerFactory.getLogger(OnapHttpConnection.class); + private static Logger log = LoggerFactory.getLogger(OnapHttpConnection.class); private HttpClient httpClient = null; - Map mapCommonHeaders = new HashMap (); + Map mapCommonHeaders = new HashMap<> (); protected boolean debug = false; @@ -344,7 +344,7 @@ public class OnapHttpConnection { throw new OnapCommandHttpFailure(e); } finally { String info = input + " " + result; - LOG.info(info); + log.info(info); if (this.debug) { this.debugDetails = info; }