Merge pull request #5652 from Johnny Lim

* gh-5652:
  Use the passed parameter in BuildInfo.coerceToStringValues()
This commit is contained in:
Andy Wilkinson 2016-04-11 09:25:04 +01:00
commit bdaf857e44
1 changed files with 1 additions and 1 deletions

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;