From e9764c642f01c24313e0921522c22896eb620040 Mon Sep 17 00:00:00 2001 From: Isaac Manuel Raj Date: Wed, 17 Apr 2019 14:32:40 +0530 Subject: Replace the type specification in this constructor call with the diamond operator Replace the type specification in this constructor call with the diamond operator Issue-ID: SO-1490 Change-Id: I6284c11a2608f6fdbf0fc9ad14b83f9d49d192e6 Signed-off-by: Isaac Manuel Raj --- .../main/java/com/woorea/openstack/connector/HttpClientResponse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack-client-connectors/http-connector/src/main/java/com/woorea/openstack/connector/HttpClientResponse.java b/openstack-client-connectors/http-connector/src/main/java/com/woorea/openstack/connector/HttpClientResponse.java index 468e859..99421b8 100644 --- a/openstack-client-connectors/http-connector/src/main/java/com/woorea/openstack/connector/HttpClientResponse.java +++ b/openstack-client-connectors/http-connector/src/main/java/com/woorea/openstack/connector/HttpClientResponse.java @@ -92,7 +92,7 @@ public class HttpClientResponse implements OpenStackResponse { @Override public Map headers() { - Map headers = new HashMap(); + Map headers = new HashMap<>(); Header responseHeaders[] = response.getAllHeaders(); for (Header h : responseHeaders) { -- cgit 1.2.3-korg