mirror of https://github.com/apache/lucene.git
SOLR-14691: Fix a minor back-compat formatting issue.
This commit is contained in:
parent
43b1a2fdc7
commit
969f9c1899
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue