Added inspection based on IfNullToElvisIntention + moved intention based inspections into one file
This commit is contained in:
@@ -0,0 +1 @@
|
||||
val result = ... ?: return
|
||||
@@ -0,0 +1,2 @@
|
||||
val result = ...
|
||||
if (result == null) return
|
||||
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
Converts an if expression checking variable being null right after initializing it to an elvis operator in the initializer (if applicable)
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user