Get rid of deprecated annotations and modifiers in stdlib (besides JS)

This commit is contained in:
Denis Zharkov
2015-09-14 16:35:30 +03:00
parent 9c4564a5a6
commit 5cecaa6f87
133 changed files with 1203 additions and 1085 deletions
+3 -3
View File
@@ -8,19 +8,19 @@ import java.io.*
import org.junit.Test as test
class OldStdlibTest() {
test fun testCollectionEmpty() {
@test fun testCollectionEmpty() {
assertNot {
listOf(0, 1, 2).isEmpty()
}
}
test fun testCollectionSize() {
@test fun testCollectionSize() {
assertTrue {
listOf(0, 1, 2).size() == 3
}
}
test fun testInputStreamIterator() {
@test fun testInputStreamIterator() {
val x = ByteArray (10)
for(index in 0..9) {