Add missing else statement

Closes gh-4509
This commit is contained in:
Johnny Lim 2015-11-16 23:59:21 +09:00 committed by Stephane Nicoll
parent 5d8410f694
commit fde70909ce
1 changed files with 1 additions and 1 deletions

View File

@ -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);