resources.report.rules.findbugs.CO_ABSTRACT_SELF.html Maven / Gradle / Ivy
CO_ABSTRACT_SELF
Co: Abstract class defines covariant compareTo() method (CO_ABSTRACT_SELF)
This class defines a covariant version of compareTo()
.
To correctly override the compareTo()
method in the
Comparable
interface, the parameter of compareTo()
must have type java.lang.Object
.