Rename copyToArray() to toTypedArray().

This commit is contained in:
Ilya Gorbunov
2015-04-20 20:17:49 +03:00
parent 5eb3c0bb5e
commit be11394adf
9 changed files with 17 additions and 11 deletions
@@ -196,7 +196,7 @@ public open class Kotlin2JsCompile() : AbstractKotlinCompile<K2JSCompilerArgumen
}
public fun addLibraryFiles(vararg fs: File) {
val strs = fs.map { it.getPath() }.copyToArray()
val strs = fs.map { it.getPath() }.toTypedArray()
addLibraryFiles(*strs)
}