Replace call with comparison inspection introduced #KT-11425 Fixed
(cherry picked from commit 042fc0d)
This commit is contained in:
committed by
Mikhail Glukhikh
parent
fc13b25ca4
commit
475dc6541b
@@ -0,0 +1,4 @@
|
||||
<html><body>
|
||||
This inspection reports equals() and compareTo() calls that can be replaced with binary comparison.
|
||||
Example: <code>2.compareTo(1) > 0</code> can be replaced by <code>2 > 1</code>.
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user