summaryrefslogtreecommitdiffstats
path: root/heat-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 /heat-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 'heat-model/src')
-rw-r--r--heat-model/src/main/java/com/woorea/openstack/heat/model/Stack.java4
1 files changed, 2 insertions, 2 deletions
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<String,Object> parameters = new HashMap<String,Object>();
+ private Map<String,Object> parameters = new HashMap<>();
public void setParameters (Map<String,Object> params)
{