SOLR-14691: Fix a minor back-compat formatting issue.

This commit is contained in:
Andrzej Bialecki 2020-10-07 20:46:13 +02:00
parent 43b1a2fdc7
commit 969f9c1899
1 changed files with 2 additions and 1 deletions

View File

@ -234,13 +234,14 @@ public class Utils {
startObject();
final boolean[] first = new boolean[1];
first[0] = true;
int sz = mapWriter._size();
mapWriter._forEachEntry((k, v) -> {
if (first[0]) {
first[0] = false;
} else {
writeValueSeparator();
}
indent();
if (sz > 1) indent();
writeString(k.toString());
writeNameSeparator();
write(v);