summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeshu Kumar M <seshu.kumar.m@huawei.com>2019-04-17 12:10:02 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-17 12:10:02 +0000
commit32cb56689701d3194eddefcac1cf83db50e5f789 (patch)
tree74d31ffdb862ed350c45834960753bdde7abe856
parent87a5aa100306535a4694a689c5b73348f1c9bb57 (diff)
parente9764c642f01c24313e0921522c22896eb620040 (diff)
Merge "Replace the type specification in this constructor call with the diamond operator"
-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) {