Class RuleViolationComparator

  • All Implemented Interfaces:
    Comparator<RuleViolation>

    @Deprecated
    public final class RuleViolationComparator
    extends Object
    implements Comparator<RuleViolation>
    Compares RuleViolations using the following criteria:
    1. Source file name
    2. Begin line
    3. Description
    4. Begin column
    5. End line
    6. End column
    7. Rule name
    TODO why is begin line/begin column split?? would make more sense to use - filename - begin line - begin column - description - rule name - end line - end column