Package net.sourceforge.pmd
Class RuleViolationComparator
- java.lang.Object
-
- net.sourceforge.pmd.RuleViolationComparator
-
- All Implemented Interfaces:
Comparator<RuleViolation>
@Deprecated public final class RuleViolationComparator extends Object implements Comparator<RuleViolation>
Deprecated.Compares RuleViolations using the following criteria:- Source file name
- Begin line
- Description
- Begin column
- End line
- End column
- Rule name
-
-
Field Summary
Fields Modifier and Type Field Description static RuleViolationComparator
INSTANCE
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compare(RuleViolation r1, RuleViolation r2)
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Field Detail
-
INSTANCE
public static final RuleViolationComparator INSTANCE
Deprecated.
-
-
Method Detail
-
compare
public int compare(RuleViolation r1, RuleViolation r2)
Deprecated.- Specified by:
compare
in interfaceComparator<RuleViolation>
-
-