cca3237e46
#KT-4727 Fixed
15 lines
290 B
Kotlin
Vendored
15 lines
290 B
Kotlin
Vendored
package to
|
|
|
|
import java.io.File
|
|
import java.util.ArrayList
|
|
|
|
internal class JavaClass {
|
|
fun foo(file: File?, target: MutableList<String>?) {
|
|
val list = ArrayList<String>()
|
|
if (file != null) {
|
|
list.add(file.name)
|
|
}
|
|
target?.addAll(list)
|
|
}
|
|
}
|