summaryrefslogtreecommitdiffstats
path: root/profiles/http/src/main
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-04-26 10:44:27 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-04-26 11:38:22 +0530
commit42249b421aab454bec9766782bdac65572f2dce7 (patch)
tree3c1c3aa83833e3b0ac0668b38a819f690a933c12 /profiles/http/src/main
parent128f3cfe7cbaf1139240a0e597f2d2f60c6e1a42 (diff)
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 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'profiles/http/src/main')
-rw-r--r--profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java6
1 files changed, 3 insertions, 3 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 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<String, String> mapCommonHeaders = new HashMap<String, String> ();
+ Map<String, String> 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;
}