Skip to content

Commit 647493b

Browse files
committed
Fix deprecation warnings.
1 parent 3030c80 commit 647493b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xpath-to-json-jackson/src/main/java/com/github/simy4/xpath/jackson/navigator/node/AbstractJacksonNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public final String getText() {
5454
if (text.isNull()) {
5555
return "null";
5656
} else if (text.isValueNode()) {
57-
return text.asText("");
57+
return Objects.toString(text.asText(), "");
5858
}
5959
}
6060
}

0 commit comments

Comments
 (0)