Add missing else statement
Closes gh-4509
This commit is contained in:
committed by
Stephane Nicoll
parent
5d8410f694
commit
fde70909ce
@@ -121,7 +121,7 @@ public class SpringApplicationJsonEnvironmentPostProcessor
|
||||
if (value instanceof Map) {
|
||||
flatten(name, result, (Map<String, Object>) value);
|
||||
}
|
||||
if (value instanceof Collection) {
|
||||
else if (value instanceof Collection) {
|
||||
int index = 0;
|
||||
for (Object object : (Collection<Object>) value) {
|
||||
extract(name + "[" + index + "]", result, object);
|
||||
|
||||
Reference in New Issue
Block a user