Skip to content

Commit

Permalink
Merge branch 'opensearch-project:main' into tlog-md-during-migration
Browse files Browse the repository at this point in the history
  • Loading branch information
shourya035 authored Jun 3, 2024
2 parents 23549ad + bf43678 commit eea6ff7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ 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 caution.
*/
@Override
public String toString() {
Expand Down

0 comments on commit eea6ff7

Please sign in to comment.