Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Liyun Xiu <xiliyun@amazon.com>
  • Loading branch information
chishui committed May 24, 2024
1 parent 17f01d1 commit 5cc0a04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public static XContentBuilder builder(XContent xContent, Set<String> includes, S
* Returns a string representation of the builder (only applicable for text based xcontent).
* Note: explicitly or implicitly (from debugger) calling toString() could cause XContentBuilder
* to close which is a side effect done by @see BytesReference#bytes().
* Trying to write more contents after toString() will cause NPE. Use it with cautious.
* Trying to write more contents after toString() will cause NPE. Use it with caution.
*/
@Override
public String toString() {
Expand Down

0 comments on commit 5cc0a04

Please sign in to comment.