Refactoring: make "replace array equality ..." an inspection
This commit is contained in:
-6
@@ -1,6 +0,0 @@
|
||||
fun foo() {
|
||||
val a = arrayOf("a", "b", "c")
|
||||
val b = arrayOf("a", "b", "c")
|
||||
if (<spot>Arrays.equals(a, b)</spot>) {
|
||||
}
|
||||
}
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
fun foo() {
|
||||
val a = arrayOf("a", "b", "c")
|
||||
val b = arrayOf("a", "b", "c")
|
||||
if (<spot>a == b</spot>) {
|
||||
}
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention replace '==' or '!=' operator for arrays with 'Arrays.equals'
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user