diff --git a/libs/core/src/main/java/org/opensearch/core/xcontent/XContentBuilder.java b/libs/core/src/main/java/org/opensearch/core/xcontent/XContentBuilder.java index 9913b147c05f3..552945d085884 100644 --- a/libs/core/src/main/java/org/opensearch/core/xcontent/XContentBuilder.java +++ b/libs/core/src/main/java/org/opensearch/core/xcontent/XContentBuilder.java @@ -159,7 +159,7 @@ public static XContentBuilder builder(XContent xContent, Set 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() {