Browse Source

Merge pull request #5652 from Johnny Lim

* gh-5652:
  Use the passed parameter in BuildInfo.coerceToStringValues()
pull/5649/merge
Andy Wilkinson 10 years ago
parent
commit
bdaf857e44
  1. 2
      spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/buildinfo/BuildInfo.java

2
spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/buildinfo/BuildInfo.java

@ -128,7 +128,7 @@ public class BuildInfo extends DefaultTask { @@ -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;

Loading…
Cancel
Save