Refactoring: make "replace call with binary operator" an inspection
This commit is contained in:
@@ -5,6 +5,6 @@ fun foo() {
|
||||
1.compareTo(1) == 0 // NO
|
||||
2.compareTo(1) > 0 // YES
|
||||
0 >= 1.compareTo(2) // YES
|
||||
2.plus(2) // NO
|
||||
2.times(2) // NO
|
||||
2.plus(2) // YES (information)
|
||||
2.times(2) // YES (information)
|
||||
}
|
||||
Reference in New Issue
Block a user