Refactoring: make "if-then to safe access" an inspection
This commit is contained in:
@@ -1 +0,0 @@
|
||||
val result = maybeSomething?.perform(something)
|
||||
@@ -1 +0,0 @@
|
||||
val result = if (maybeSomething != null) maybeSomething.perform(something) else null
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
Converts an if-then expression to an expression that uses a safe-access operator (if applicable)
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user