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:
@@ -0,0 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
fun test() {
|
||||
val array = intArrayOf(1, 2, 3)
|
||||
val result = java.util.Arrays.<caret>copyOf(array, 3)
|
||||
}
|
||||
Reference in New Issue
Block a user