Skip to content

Fix compareTo method for testInputViolations #17031

@ZiadAbdElFatah

Description

@ZiadAbdElFatah

Found here: #17008 (comment)

When there are two violations on the same line the sort doesn't then sort according to column number, so we need to add colNo to the violations to be able to make the compareTo method sort with column number when the line number are equal

Goal is to have violation messages for all lines at src/site/xdoc/filters/suppresswithnearbycommentfilter.xml

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