Inspectopedia
 
2024.3

Redundant 'compare()' method call

Warning
New
Last modified: 03 December 2024

Reports comparisons in which the compare method is superfluous.

Example:

After the quick-fix is applied:

New in 2018.2