Skip to content

Commit

Permalink
Fix deprecation warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimY4 committed Mar 13, 2024
1 parent 3030c80 commit 647493b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public final String getText() {
if (text.isNull()) {
return "null";
} else if (text.isValueNode()) {
return text.asText("");
return Objects.toString(text.asText(), "");
}
}
}
Expand Down

0 comments on commit 647493b

Please sign in to comment.