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
@@ -6,7 +6,7 @@ import org.junit.Test as test
class LazyTest {
test fun initializationCalledOnce() {
@test fun initializationCalledOnce() {
var callCount = 0
val lazyInt = lazy { ++callCount }
@@ -20,7 +20,7 @@ class LazyTest {
assertEquals(1, callCount)
}
test fun alreadyInitialized() {
@test fun alreadyInitialized() {
val lazyInt = lazyOf(1)
assertTrue(lazyInt.isInitialized())
@@ -28,7 +28,7 @@ class LazyTest {
}
test fun lazyToString() {
@test fun lazyToString() {
var callCount = 0
val lazyInt = lazy { ++callCount }