summaryrefslogtreecommitdiffstats
path: root/openstack-client-connectors
diff options
context:
space:
mode:
authorIsaac Manuel Raj <isaac.manuelraj@huawei.com>2019-04-17 14:32:40 +0530
committerIsaac Manuel Raj <isaac.manuelraj@huawei.com>2019-04-17 09:03:43 +0000
commite9764c642f01c24313e0921522c22896eb620040 (patch)
tree8173ae3bb150abe756ba789311bc4ec09d01456e /openstack-client-connectors
parent226c37657808fa22336940e9be49147809f41710 (diff)
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 <isaac.manuelraj@huawei.com>
Diffstat (limited to 'openstack-client-connectors')
-rw-r--r--openstack-client-connectors/http-connector/src/main/java/com/woorea/openstack/connector/HttpClientResponse.java2
1 files changed, 1 insertions, 1 deletions
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<String, String> headers() {
- Map<String, String> headers = new HashMap<String, String>();
+ Map<String, String> headers = new HashMap<>();
Header responseHeaders[] = response.getAllHeaders();
for (Header h : responseHeaders) {