- 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>
*/
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;
throw new OnapCommandHttpFailure(e);
} finally {
String info = input + " " + result;
- LOG.info(info);
+ log.info(info);
if (this.debug) {
this.debugDetails = info;
}