More informative intention action text
This commit is contained in:
+1
@@ -1,4 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
// INTENTION_TEXT: "Replace with 'firstOrNull{}'"
|
||||
fun foo(list: List<String?>) {
|
||||
<caret>val result: String? = list.firstOrNull { it != "" }?.substring(1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user