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
@@ -5,7 +5,7 @@ import org.junit.Test as test
class StringBuilderTest {
test fun stringBuild() {
@test fun stringBuild() {
val s = StringBuilder {
append("a")
append(true)
@@ -13,13 +13,13 @@ class StringBuilderTest {
assertEquals("atrue", s)
}
test fun appendMany() {
@test fun appendMany() {
assertEquals("a1", StringBuilder().append("a", "1").toString())
assertEquals("a1", StringBuilder().append("a", 1).toString())
assertEquals("a1", StringBuilder().append("a", StringBuilder().append("1")).toString())
}
test fun append() {
@test fun append() {
// this test is needed for JS implementation
assertEquals("em", StringBuilder {
append("element", 2, 4)