Fix invalid resources placement
For ExpandBooleanExpressionIntention and RedundantAsSequence intention
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
fun f(b: Boolean): Boolean {
|
||||
return if (b) {
|
||||
true
|
||||
} else {
|
||||
false
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun f(b: Boolean): Boolean {
|
||||
return b
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention replaces a <b>boolean</b> expression with the equivalent <b>if-else</b> expression.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user