Skip to content

Fix remaining broken javadoc link braces in Context module - #8588

Merged
jack-berg merged 2 commits into
open-telemetry:mainfrom
thswlsqls:docs/fix-context-linkplain-braces
Jul 13, 2026
Merged

Fix remaining broken javadoc link braces in Context module#8588
jack-berg merged 2 commits into
open-telemetry:mainfrom
thswlsqls:docs/fix-context-linkplain-braces

Conversation

@thswlsqls

Copy link
Copy Markdown
Contributor

Description

  • Two {@linkplain} tags in the Context module have the closing } before the label instead of after it, so the link ends early and the label renders as literal text with a stray }.
  • Context.java line 45: {@link Scope#close()} closing} becomes {@linkplain Scope#close() closing}, matching the correct anchor on line 42 ({@linkplain #makeCurrent set}).
  • StrictContextStorage.java line 128: {@linkplain Context#wrap(Executor)} wrapped executor} becomes {@linkplain Context#wrap(Executor) wrapped executor}.
  • These are the sibling cases missed by Fix dead references in Context module javadoc #8486 (Fix dead references in Context module javadoc), which fixed the same class of markup elsewhere.
  • Related: Fix dead references in Context module javadoc #8486

Testing done

  • Docs-only, test-exempt: no test added; ./gradlew :context:check passed (130 tests).
  • Javadoc-text-only change: no public signature change, so jApiCmp reports no diff and no docs/apidiffs update is needed.

@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.59%. Comparing base (542cebb) to head (b6a0d16).
⚠️ Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #8588   +/-   ##
=========================================
  Coverage     91.59%   91.59%           
  Complexity    10311    10311           
=========================================
  Files          1013     1013           
  Lines         27274    27274           
  Branches       3202     3202           
=========================================
  Hits          24981    24981           
  Misses         1564     1564           
  Partials        729      729           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jack-berg
jack-berg marked this pull request as ready for review July 13, 2026 20:39
@jack-berg
jack-berg requested a review from a team as a code owner July 13, 2026 20:39
@jack-berg
jack-berg merged commit cee47a4 into open-telemetry:main Jul 13, 2026
29 checks passed
@otelbot

otelbot Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Thank you for your contribution @thswlsqls! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey.

@thswlsqls
thswlsqls deleted the docs/fix-context-linkplain-braces branch July 17, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants