Package edu.umd.cs.findbugs
Class SloppyBugComparator
java.lang.Object
edu.umd.cs.findbugs.SloppyBugComparator
- All Implemented Interfaces:
WarningComparator,Serializable,Comparator<BugInstance>
Very sloppy bug comparator: if the warnings are of the same type, and in the
same class/method/field, assume they are the same.
- Author:
- David Hovemeyer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(BugInstance lhs, BugInstance rhs) voidsetClassNameRewriter(ClassNameRewriter classNameRewriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
SloppyBugComparator
public SloppyBugComparator()
-
-
Method Details
-
setClassNameRewriter
- Specified by:
setClassNameRewriterin interfaceWarningComparator
-
compare
- Specified by:
comparein interfaceComparator<BugInstance>- Specified by:
comparein interfaceWarningComparator
-