Skip to content

Make the logic for the two forms of Javadoc comments more similar. - #1440

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_953966721
Aug 7, 2026
Merged

Make the logic for the two forms of Javadoc comments more similar.#1440
copybara-service[bot] merged 1 commit into
masterfrom
test_953966721

Conversation

@copybara-service

Copy link
Copy Markdown

Make the logic for the two forms of Javadoc comments more similar.

Previously, for Traditional comments (/** ... */) we retained the initial * that typically was present on each line of the input, but for Markdown comments (/// ...) we removed the initial characters (along with indentation common to all lines). Now we remove initial characters from both forms of comment.

Also improve the formatting of HTML comments (<!-- ... -->) in both forms of comment.

Previously, for Traditional comments (`/** ... */`) we retained the initial `*` that typically was present on each line of the input, but for Markdown comments (`/// ...`) we removed the initial characters (along with indentation common to all lines). Now we remove initial characters from both forms of comment.

Also improve the formatting of HTML comments (`<!-- ... -->`) in both forms of comment.

PiperOrigin-RevId: 961056758
@copybara-service
copybara-service Bot merged commit ecba4fb into master Aug 7, 2026
@copybara-service
copybara-service Bot deleted the test_953966721 branch August 7, 2026 19:13
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