Skip to content

style: document public API and fail the build on javadoc warnings - #2470

Merged
mykola-mokhnach merged 2 commits into
masterfrom
style
Oct 7, 2026
Merged

mykola-mokhnach merged 2 commits into
masterfrom
style

Conversation

@mykola-mokhnach

Copy link
Copy Markdown
Contributor

Add the missing Javadoc flagged by the javadoc task (1563 "no comment" warnings) and fix the JavadocParagraph checkstyle warnings.

To prevent regressions, JavadocParagraph is now an error, and the javadoc tasks run with -Xwerror so any javadoc warning fails the build.

One-line enums were split into one constant per line so that each constant can carry its own comment.

Add the missing Javadoc flagged by the javadoc task (1563 "no comment"
warnings) and fix the JavadocParagraph checkstyle warnings.

To prevent regressions, JavadocParagraph is now an error, and the
javadoc tasks run with -Xwerror so any javadoc warning fails the build.

One-line enums were split into one constant per line so that each
constant can carry its own comment.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
JDK 18+ warns about implicit default constructors and about missing
@PARAM tags for the type parameters of classes.

Add the missing type parameter tags and explicit documented constructors.
For the Lombok classes (@Data/@value), the constructors are written by
hand with the same signature Lombok generated, because javadoc cannot see
the generated ones.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@mykola-mokhnach
mykola-mokhnach merged commit d373d02 into master Oct 7, 2026
12 checks passed
@mykola-mokhnach
mykola-mokhnach deleted the style branch October 7, 2026 13:10
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