f9fac0acf5
This may cause conflicts on shortening fq references post-processing step
15 lines
264 B
Kotlin
Vendored
15 lines
264 B
Kotlin
Vendored
package to
|
|
|
|
import java.io.File
|
|
|
|
|
|
class JavaClass {
|
|
internal fun foo(file: File?, target: MutableList<String>?) {
|
|
val list = ArrayList<String>()
|
|
if (file != null) {
|
|
list.add(file.name)
|
|
}
|
|
target?.addAll(list)
|
|
}
|
|
}
|