Skip to content

fix: fix scaladoc warnings#3285

Open
He-Pin wants to merge 2 commits into
apache:mainfrom
He-Pin:fix/scaladoc-warnings
Open

fix: fix scaladoc warnings#3285
He-Pin wants to merge 2 commits into
apache:mainfrom
He-Pin:fix/scaladoc-warnings

Conversation

@He-Pin

@He-Pin He-Pin commented Jul 4, 2026

Copy link
Copy Markdown
Member

Summary

  • Fix all scaladoc warnings across actor, stream, cluster, and other modules
  • Replace unresolvable [[...]] links with backtick-quoted code for external types (Future, AutoCloseable, NoSuchElementException, LoggingAdapter, MarkerLoggingAdapter, SessionBytes, etc.)
  • Resolve ambiguous overload links using backtick-quoted code (alsoTo, wireTap, takeWhile, splitWhen, splitAfter, groupBy, flatMapConcat, throttle, dropRepeated, deflate, gzip, etc.)
  • Fix @throws tags with fully qualified type names
  • Fix references to private types (WireTap, OrElse, GraphInterpreter, BarrierCoordinator)
  • Fix incorrect package prefixes (pekko. to org.apache.pekko.)

Test plan

  • sbt actor/doc completes with 0 Scala warnings
  • sbt stream/doc shows significantly reduced warnings
  • sbt actor-testkit-typed/doc completes with 0 warnings
  • No functional changes, documentation only

@He-Pin He-Pin changed the title fix: fix scaladoc warnings across all modules fix: fix scaladoc warnings Jul 4, 2026
@He-Pin He-Pin requested a review from pjfanning July 4, 2026 14:31
@He-Pin He-Pin force-pushed the fix/scaladoc-warnings branch from 927c3d2 to 65d0800 Compare July 5, 2026 05:42
He-Pin added a commit to He-Pin/incubator-pekko that referenced this pull request Jul 5, 2026
…erences

Motivation:
PR apache#3285 review comment from pjfanning: "should we keep the package name?"
The original [[pekko.stream.javadsl.Source.queue]] and
[[pekko.stream.scaladsl.Source.queue]] links were replaced with just
`Source.queue`, dropping the package name and making the reference ambiguous.

Modification:
Restore the fully qualified package names in the scaladoc "See also"
references for both javadsl and scaladsl ActorSource.scala files.

Result:
Scaladoc references now include the full package path, making it clear
which Source.queue class is being referenced.

Tests:
Not run - docs only

References:
Refs apache#3285
@He-Pin He-Pin requested a review from pjfanning July 5, 2026 13:37
@He-Pin He-Pin added this to the 2.0.0-M4 milestone Jul 5, 2026
@He-Pin He-Pin force-pushed the fix/scaladoc-warnings branch from b37b2e9 to 8cd24b2 Compare July 5, 2026 14:37
He-Pin added 2 commits July 6, 2026 00:13
Motivation:
The project had scaladoc warnings about unresolvable links,
ambiguous overloads, and incorrect package prefixes across actor,
actor-typed, stream, cluster, serialization-jackson, persistence,
and other modules.

Modification:
- Replace unresolvable [[...]] links with backtick-quoted code for external types
- Fix incorrect package prefixes (pekko. -> org.apache.pekko.)
- Resolve ambiguous overload links using backtick-quoted code
- Fix @throws tags with fully qualified type names
- Fix variable references in code blocks (Helpers.scala)

Result:
All scaladoc warnings are resolved across the affected modules.

Tests:
Verified with `sbt doc` on affected subprojects - 0 warnings.

References:
None - scaladoc cleanup
…erences

Motivation:
PR apache#3285 review comment from pjfanning: "should we keep the package name?"
The original [[pekko.stream.javadsl.Source.queue]] and
[[pekko.stream.scaladsl.Source.queue]] links were replaced with just
`Source.queue`, dropping the package name and making the reference ambiguous.

Modification:
Restore the fully qualified package names in the scaladoc "See also"
references for both javadsl and scaladsl ActorSource.scala files.

Result:
Scaladoc references now include the full package path, making it clear
which Source.queue class is being referenced.

Tests:
Not run - docs only

References:
Refs apache#3285
@He-Pin He-Pin force-pushed the fix/scaladoc-warnings branch from 8cd24b2 to ae96916 Compare July 5, 2026 16:15
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