From 9bd5455099b747c7e35b4d648ce733c91423f47e Mon Sep 17 00:00:00 2001 From: rama-huawei Date: Thu, 19 Oct 2017 11:23:59 +0530 Subject: Replace type specification with operator ("<>") Issue-id: SO-224 Change-Id: Ie7ac4365aa763e732413848ccdcf8c27f8029eb9 Signed-off-by: rama-huawei --- .../src/main/java/com/woorea/openstack/swift/model/ObjectForUpload.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swift-model') diff --git a/swift-model/src/main/java/com/woorea/openstack/swift/model/ObjectForUpload.java b/swift-model/src/main/java/com/woorea/openstack/swift/model/ObjectForUpload.java index 10a9d23..5775f4b 100644 --- a/swift-model/src/main/java/com/woorea/openstack/swift/model/ObjectForUpload.java +++ b/swift-model/src/main/java/com/woorea/openstack/swift/model/ObjectForUpload.java @@ -64,7 +64,7 @@ public class ObjectForUpload { */ public Map getProperties() { if(properties == null) { - properties = new HashMap(); + properties = new HashMap<>(); } return properties; } -- cgit 1.2.3-korg