From b2d002041040b4e612ef7e9219144a39125b17a5 Mon Sep 17 00:00:00 2001 From: rama-huawei Date: Wed, 18 Oct 2017 11:49:03 +0530 Subject: Replace type specification with operator "<>" Issue-id: SO-224 Change-Id: I83d5904758ef700d0e450571d98f9511dc9eb28a Signed-off-by: rama-huawei --- .../src/main/java/com/woorea/openstack/glance/model/ImageUpload.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glance-model/src/main/java') diff --git a/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java b/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java index ac10843..f68b2be 100644 --- a/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java +++ b/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java @@ -61,7 +61,7 @@ public class ImageUpload { */ public Map getProperties() { if(properties == null) { - properties = new HashMap(); + properties = new HashMap<>(); } return properties; } -- cgit 1.2.3-korg