Files
kotlin-fork/idea/testData/inspectionsLocal/replaceArraysCopyOfWithCopyOf/simple.kt
T
Nikolay Krasko d3ec145f13 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
2018-10-12 18:21:38 +03:00

7 lines
139 B
Kotlin
Vendored

// WITH_RUNTIME
import java.util.Arrays
fun test() {
val array = intArrayOf(1, 2, 3)
val result = Arrays.<caret>copyOf(array, 3)
}