Added ifThenToElvisIntention
This commit is contained in:
committed by
Zalim Bashorov
parent
673369affe
commit
1ca4bb0e79
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user