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 --- heat-model/src/main/java/com/woorea/openstack/heat/model/Stack.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'heat-model') diff --git a/heat-model/src/main/java/com/woorea/openstack/heat/model/Stack.java b/heat-model/src/main/java/com/woorea/openstack/heat/model/Stack.java index 2fa1535..724f6de 100644 --- a/heat-model/src/main/java/com/woorea/openstack/heat/model/Stack.java +++ b/heat-model/src/main/java/com/woorea/openstack/heat/model/Stack.java @@ -225,7 +225,7 @@ public class Stack { { try { String s = mapper.writeValueAsString(_findOutputValue(key)); - return (mapper.readValue(s, type)); + return mapper.readValue(s, type); } catch (IOException e) { return null; @@ -233,7 +233,7 @@ public class Stack { } @JsonProperty("parameters") - private Map parameters = new HashMap(); + private Map parameters = new HashMap<>(); public void setParameters (Map params) { -- cgit 1.2.3-korg