Class SloppyBugComparator

  • All Implemented Interfaces:
    WarningComparator, java.io.Serializable, java.util.Comparator<BugInstance>

    public class SloppyBugComparator
    extends java.lang.Object
    implements WarningComparator
    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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(BugInstance lhs, BugInstance rhs)  
      void setClassNameRewriter​(ClassNameRewriter classNameRewriter)  
      • 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