mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-22 17:35:22 +00:00
Merge pull request #5652 from Johnny Lim
* gh-5652: Use the passed parameter in BuildInfo.coerceToStringValues()
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user