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
@@ -11,7 +11,7 @@ import java.util.concurrent.TimeUnit.*
class ThreadTest {
test fun scheduledTask() {
val pool = Executors.newFixedThreadPool(1).sure()
val pool = Executors.newFixedThreadPool(1)!!
val countDown = CountDownLatch(1)
pool {
countDown.countDown()
@@ -21,7 +21,7 @@ class ThreadTest {
test fun callableInvoke() {
val pool = Executors.newFixedThreadPool(1).sure()
val pool = Executors.newFixedThreadPool(1)!!
val future = pool<String> {
"Hello"
}