mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-03 07:49:03 +00:00
Use the passed parameter in BuildInfo.coerceToStringValues()
Closes gh-5652
This commit is contained in:
committed by
Andy Wilkinson
parent
abe8c2ec17
commit
b5f92611aa
+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