Added safeAccessToIfThen intention

This commit is contained in:
Zack Grannan
2014-03-02 17:45:13 -08:00
committed by Zalim Bashorov
parent 1ca4bb0e79
commit 1f720c8559
53 changed files with 349 additions and 4 deletions
@@ -0,0 +1 @@
val result = if (maybeSomething != null) maybeSomething.perform(something) else null
@@ -0,0 +1 @@
val result = maybeSomething?.perform(something)
@@ -0,0 +1,5 @@
<html>
<body>
Converts an expression that uses an safe-access operator to an if-then expression
</body>
</html>