Fixes for ReplaceArraysCopyOfWithCopyOfInspection
- Reduce applicability range - Don't fix reporting level, otherwise it won't be possible to change it in settings - Using isCalling utility
This commit is contained in:
@@ -3,5 +3,5 @@ import java.util.Arrays
|
||||
|
||||
fun test() {
|
||||
val array = intArrayOf(1, 2, 3)
|
||||
val result = <caret>Arrays.copyOf(array, 3)
|
||||
val result = Arrays.<caret>copyOf(array, 3)
|
||||
}
|
||||
Reference in New Issue
Block a user