Replaced sure() invocations with '!!' operator in codegen tests.

This commit is contained in:
Evgeny Gerashchenko
2012-09-14 17:18:58 +04:00
parent ffc4792071
commit 6e62212727
17 changed files with 26 additions and 26 deletions
@@ -1,7 +1,7 @@
import java.lang.Runtime
fun box() : String {
val processors = Runtime.getRuntime().sure().availableProcessors()
val processors = Runtime.getRuntime()!!.availableProcessors()
var threadNum = 1
while(threadNum <= 1024) {
System.out?.println(threadNum)