Replaced sure() invocations with '!!' operator in libraries written on Kotlin.

This commit is contained in:
Evgeny Gerashchenko
2012-09-14 17:13:36 +04:00
parent 533cc5a04d
commit 8e1323bb43
47 changed files with 164 additions and 164 deletions
+2 -2
View File
@@ -105,7 +105,7 @@ class CollectionTest {
assertNull(x)
val f = data.find{it.startsWith("f")}
f.sure()
f!!
assertEquals("foo", f)
}
@@ -390,7 +390,7 @@ class CollectionTest {
private val collection = collection
override fun iterator(): Iterator<T> {
return collection.iterator().sure()
return collection.iterator()!!
}
}
}