net.sourceforge.pmd
Class RuleViolationComparator
java.lang.Object
net.sourceforge.pmd.RuleViolationComparator
- All Implemented Interfaces:
- Comparator<RuleViolation>
public final class RuleViolationComparator
- extends Object
- implements Comparator<RuleViolation>
Compares RuleViolations using the following criteria:
- Source file name
- Begin line
- Description
- Begin column
- End line
- End column
- Rule name
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final RuleViolationComparator INSTANCE
compare
public int compare(RuleViolation r1,
RuleViolation r2)
- Specified by:
compare
in interface Comparator<RuleViolation>
Copyright © 2002-2015 InfoEther. All Rights Reserved.