Skip to content

Fix remaining broken javadoc link braces in Context module#8588

Draft
thswlsqls wants to merge 1 commit into
open-telemetry:mainfrom
thswlsqls:docs/fix-context-linkplain-braces
Draft

Fix remaining broken javadoc link braces in Context module#8588
thswlsqls wants to merge 1 commit 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.

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.

1 participant