Add Boolean? == const to elvis conversion and vice versa #KT-15368 Fixed
Convert elvis to equality check implemented as inspection due code style guide
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
fun foo() {
|
||||
val a = java.lang.Boolean.valueOf("true")
|
||||
if (a ?: false) {}
|
||||
}
|
||||
Reference in New Issue
Block a user