Skip to content

Commit

Permalink
Fix call to ArrayNode#builder
Browse files Browse the repository at this point in the history
  • Loading branch information
adwsingh committed Feb 20, 2025
1 parent 6e1f346 commit 16950dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public Void objectNode(ObjectNode objectNode) {

@Override
public Void arrayNode(ArrayNode arrayNode) {
writer.write("$T.builder", ArrayNode.class);
writer.write("$T.builder()", ArrayNode.class);
writer.indent();
for (var element : arrayNode.getElements()) {
writer.write(".withValue($C)", (Runnable) () -> element.accept(this));
Expand Down

0 comments on commit 16950dd

Please sign in to comment.