This inspection reports equals() and compareTo() calls that can be replaced with binary comparison. Example:
2.compareTo(1) > 0
can be replaced by
2 > 1
.