Skip to content

update JavadocTagContinuationIndentation Examples #18747

@romani

Description

@romani

during review of #18572
few items are identified.

https://checkstyle-diff-reports.s3.us-east-2.amazonaws.com/b8f9ffd_20260124054241/checks/javadoc/javadoctagcontinuationindentation.html#Examples

Examples1 and Example3 and Example4 are absolutely the same.
but should have different violations.

we need to remove Example4 as it is already in all examples and mentioned at https://checkstyle-diff-reports.s3.us-east-2.amazonaws.com/b8f9ffd_20260124054241/checks/javadoc/javadoctagcontinuationindentation.html#Notes

We need to add to all ExampleX method that have invalid html (code tag is not closed).
to let Example3 , that is with <property name="violateExecutionOnNonTightHtml" value="true"/> to show violation on it.

/**
 * <a> 'a' tag is not closed
 */
void methodWithNotClosedTag() {} 

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