Added ifThenToElvisIntention

This commit is contained in:
Zack Grannan
2014-03-02 17:43:17 -08:00
committed by Zalim Bashorov
parent 673369affe
commit 1ca4bb0e79
45 changed files with 484 additions and 0 deletions
@@ -0,0 +1,10 @@
// IS_APPLICABLE: false
fun main(args: Array<String>) {
val foo: String? = "foo"
val bar = "bar"
if (foo == null<caret>) {
}
else {
bar
}
}