Use the passed parameter in BuildInfo.coerceToStringValues()

Closes gh-5652
This commit is contained in:
Johnny Lim
2016-04-11 15:31:17 +09:00
committed by Andy Wilkinson
parent abe8c2ec17
commit b5f92611aa

View File

@@ -128,7 +128,7 @@ public class BuildInfo extends DefaultTask {
private Map<String, String> coerceToStringValues(Map<String, Object> input) {
Map<String, String> output = new HashMap<String, String>();
for (Entry<String, Object> entry : this.additionalProperties.entrySet()) {
for (Entry<String, Object> entry : input.entrySet()) {
output.put(entry.getKey(), entry.getValue().toString());
}
return output;