Skip to content

Violate all inlined violations that are placed not outside javadoc #19756

@romani

Description

@romani

Find a way to fail build on cases of //violation .... usage inside javadoc.

bad

/** 
 * This Javadoc contains unclosed tag.
 * <code>unclosed 'code' tag<code> // violation 'Unclosed HTML tag found: <code>'
 */

good:

// violation 3 lines below 'Unclosed HTML tag found: <code>'
/** 
 * This Javadoc contains unclosed tag.
 * <code>unclosed 'code' tag<code>
 */

Some regexp Check should help us to do this.
All Inputs should comply with this rule.
In scope of this issue we should make some Check instance, fix few, if there is alot and make suppression list to let massive update later on (we can create new issue, mark it as good first issue).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions