Fix invalid resources placement

For ExpandBooleanExpressionIntention and RedundantAsSequence intention
This commit is contained in:
Igor Yakovlev
2020-06-03 14:01:22 +03:00
parent f2d0d8b422
commit ebae6332aa
4 changed files with 0 additions and 0 deletions
@@ -1,5 +0,0 @@
<html>
<body>
This inspection reports redundant 'asSequence()' call that can never have a positive performance effect.
</body>
</html>
@@ -1,7 +0,0 @@
fun f(b: Boolean): Boolean {
return if (b) {
true
} else {
false
}
}
@@ -1,3 +0,0 @@
fun f(b: Boolean): Boolean {
return b
}
@@ -1,5 +0,0 @@
<html>
<body>
This intention replaces a <b>boolean</b> expression with the equivalent <b>if-else</b> expression.
</body>
</html>