Skip to content

Commit

Permalink
fix: Add @OverRide annotation to the node.printer
Browse files Browse the repository at this point in the history
  • Loading branch information
credmond-git committed Mar 15, 2024
1 parent f96f218 commit 75ded8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public String toString() {
return printer("");
}

@Override
public String printer(String path) {
return "ArrayNode{" +
"values=[" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public String toString() {
return printer("");
}

@Override
public String printer(String path) {
return "LeafNode{" +
"value='" + value + '\'' +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public String toString() {
return printer("");
}

@Override
public String printer(String path) {
return "MapNode{" +
"mapNode={" +
Expand Down

0 comments on commit 75ded8c

Please sign in to comment.