Convert FoldInitializerAndIfToElvisIntention to inspection and decrease severity to INFO
#KT-19643 Fixed
This commit is contained in:
-1
@@ -1 +0,0 @@
|
||||
val result = ... <spot>?: return</spot>
|
||||
-2
@@ -1,2 +0,0 @@
|
||||
val result = ...
|
||||
<spot>if (result == null) return</spot>
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention converts an <b>if</b> expression checking a variable being null or not right after initializing it to an elvis operator in the initializer (if applicable).
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user