Compiler&plugin deprecations cleanup: *array -> *arrayOf, copyToArray -> toTypedArray.

This commit is contained in:
Ilya Gorbunov
2015-06-25 17:35:40 +03:00
parent 00a44f6d4f
commit 2c31a1a345
50 changed files with 82 additions and 82 deletions
@@ -40,8 +40,8 @@ public object PluginCliParser {
val classLoader = PluginURLClassLoader(
arguments.pluginClasspaths
?.map { File(it).toURI().toURL() }
?.copyToArray()
?: array<URL>(),
?.toTypedArray()
?: arrayOf<URL>(),
javaClass.getClassLoader()
)