Skip to content

Commit c127eb2

Browse files
joerg1985diemol
andauthored
[java] Respect disabled pretty printing for arrays (#12079)
Respect disabled pretty printing for arrays Co-authored-by: Diego Molina <[email protected]>
1 parent c1b4580 commit c127eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/org/openqa/selenium/json/JsonOutput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public JsonOutput endObject() {
288288

289289
public JsonOutput beginArray() {
290290
append("[" + lineSeparator);
291-
indent += " ";
291+
indent += indentBy;
292292
stack.addFirst(new JsonCollection());
293293
return this;
294294
}

0 commit comments

Comments
 (0)