Refactoring: make "replace array equality ..." an inspection

This commit is contained in:
Mikhail Glukhikh
2017-12-18 18:23:29 +03:00
parent 33d94cd5e1
commit 756cb32eaf
19 changed files with 123 additions and 128 deletions
@@ -0,0 +1,8 @@
// WITH_RUNTIME
// FIX: Replace '!=' with 'contentEquals'
fun foo() {
val a = arrayOf("a", "b", "c")
val b = arrayOf("a", "b", "c")
if (a <caret>!= b) {
}
}