-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add comment to XContentBuilder.toString() #13809
Conversation
Signed-off-by: Liyun Xiu <[email protected]>
Changelog is not needed. |
❕ Gradle check result for 17f01d1: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #13809 +/- ##
============================================
+ Coverage 71.42% 71.76% +0.34%
- Complexity 59978 61378 +1400
============================================
Files 4985 5065 +80
Lines 282275 288124 +5849
Branches 40946 41719 +773
============================================
+ Hits 201603 206777 +5174
- Misses 63999 64278 +279
- Partials 16673 17069 +396 ☔ View full report in Codecov by Sentry. |
libs/core/src/main/java/org/opensearch/core/xcontent/XContentBuilder.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Liyun Xiu <[email protected]>
❌ Gradle check result for 5cc0a04: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
libs/core/src/main/java/org/opensearch/core/xcontent/XContentBuilder.java
Show resolved
Hide resolved
❌ Gradle check result for 5cc0a04: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for 5cc0a04: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for 5cc0a04: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
@dblock the change your requested has been addressed, could you take a look? |
* Add comment to XContentBuilder.toString Signed-off-by: Liyun Xiu <[email protected]> * Fix typo Signed-off-by: Liyun Xiu <[email protected]> --------- Signed-off-by: Liyun Xiu <[email protected]> (cherry picked from commit bf43678) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add comment to XContentBuilder.toString * Fix typo --------- (cherry picked from commit bf43678) Signed-off-by: Liyun Xiu <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add comment to XContentBuilder.toString Signed-off-by: Liyun Xiu <[email protected]> * Fix typo Signed-off-by: Liyun Xiu <[email protected]> --------- Signed-off-by: Liyun Xiu <[email protected]>
* Add comment to XContentBuilder.toString Signed-off-by: Liyun Xiu <[email protected]> * Fix typo Signed-off-by: Liyun Xiu <[email protected]> --------- Signed-off-by: Liyun Xiu <[email protected]>
…pensearch-project#13932) * Add comment to XContentBuilder.toString * Fix typo --------- (cherry picked from commit bf43678) Signed-off-by: Liyun Xiu <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: kkewwei <[email protected]>
* Add comment to XContentBuilder.toString Signed-off-by: Liyun Xiu <[email protected]> * Fix typo Signed-off-by: Liyun Xiu <[email protected]> --------- Signed-off-by: Liyun Xiu <[email protected]>
Description
Add comments to XContentBuilder.toString() to call out that calling this method could close the builder.
Related Issues
Resolves #13731
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.