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
@@ -31,7 +31,7 @@ class JavautilCollectionsTest {
}
test fun collectionToArray() {
val array = TEST_LIST.copyToArray()
val array = TEST_LIST.toTypedArray()
assertEquals(array.toList(), TEST_LIST)
}
}