Reports subtraction in
compareTo() methods and methods implementing java.util.Comparator.compare(). While it is a common idiom to
use the results of integer subtraction as the result of a compareTo()
method, this construct may cause subtle and difficult bugs in cases of integer overflow.
Comparing the integer values directly and returning -1, 0, or 1 is better practice in almost
all cases.