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
+1 -1
View File
@@ -14,7 +14,7 @@ class TestBuilt<T>(name: String, val builder: TestBuilder<T>, val test: TestBuil
private var myState: T? = null
var state : T
get() = myState.sure()
get() = myState!!
set(newState: T) { myState = newState }
override fun countTestCases(): Int = 1