commit | 1150b944644817cc402db7a98cb54fbde1e1f152 | [log] [tgz] |
---|---|---|
author | Hector Oswaldo Caballero <hector.caballero@ericsson.com> | Wed Nov 29 18:47:12 2017 -0500 |
committer | Hector Oswaldo Caballero <hector.caballero@ericsson.com> | Thu Nov 30 07:35:16 2017 -0500 |
tree | dd9b0d1e2fd97a733388f2c5c71bd05995e291ff | |
parent | 6c756b8fb6e1f3bc96cbd34059f0aa04fcbf5ac4 [diff] |
Fix Eclipse warnings about raw types Specify type parameters to avoid Eclipse warning. Change-Id: I832335168734c89e1746ccacd96604324d4d317d
diff --git a/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/action/AddSoyComment.java b/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/action/AddSoyComment.java index f5b7ce7..bbad6e9 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/action/AddSoyComment.java +++ b/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/action/AddSoyComment.java
@@ -62,7 +62,7 @@ this.its = its; } - private HashMap getSoyContext(Set<Property> properties) { + private HashMap<String, Object> getSoyContext(Set<Property> properties) { HashMap<String, Object> soyContext = new HashMap<>(); for (Property property : properties) { String key = property.getKey(); @@ -95,7 +95,7 @@ builder.add(content, templatePath.toAbsolutePath().toString()); - HashMap context = getSoyContext(properties); + HashMap<String, Object> context = getSoyContext(properties); SoyTofu.Renderer renderer = builder