From 42249b421aab454bec9766782bdac65572f2dce7 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Thu, 26 Apr 2018 10:44:27 +0530 Subject: 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 --- .../main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'profiles/http') 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; } -- cgit 1.2.3-korg