Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 116
Spotless messes up <pre>{@code ...}</pre> in Javadoc #195
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationinactivity-closedIssues that have been closed due to inactivity, but are otherwise valid and might be reopened laterIssues that have been closed due to inactivity, but are otherwise valid and might be reopened laterpriority: normalstale
Description
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationinactivity-closedIssues that have been closed due to inactivity, but are otherwise valid and might be reopened laterIssues that have been closed due to inactivity, but are otherwise valid and might be reopened laterpriority: normalstale
The idiomatic
which is used in code examples in Javadoc, gets messed up by Spotless (or something else?). It replaces all occurences of
@by@. Which, in general, is good, for example for@Overrideand other annotations that are actually part of the code.But since
@codeis a Javadoc-meta-annotation, it should not be converted.Otherwise it messes up the rendering, as seen here:

