summaryrefslogtreecommitdiffstats
path: root/glance-model/src
diff options
context:
space:
mode:
authorrama-huawei <rama.subba.reddy.s@huawei.com>2017-10-18 11:49:03 +0530
committerRama SubbaReddy <rama.subba.reddy.s@huawei.com>2017-10-23 08:51:01 +0000
commitb2d002041040b4e612ef7e9219144a39125b17a5 (patch)
tree46a96bcce0e91e8e97a47e1f2a0045239a839c80 /glance-model/src
parentf47593695b68356803d45475b85a0e12388426cc (diff)
Replace type specification with operator "<>"
Issue-id: SO-224 Change-Id: I83d5904758ef700d0e450571d98f9511dc9eb28a Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
Diffstat (limited to 'glance-model/src')
-rw-r--r--glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java2
1 files changed, 1 insertions, 1 deletions
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<String, Object> getProperties() {
if(properties == null) {
- properties = new HashMap<String, Object>();
+ properties = new HashMap<>();
}
return properties;
}