Reports comparisons in which the compare method is superfluous.

Example:


  boolean result = Integer.compare(a, b) == 0;

After the quick-fix is applied:


  boolean result = a == b;

New in 2018.2