Cleanup as36 patchset files (KTI-315)

This commit is contained in:
Yunir Salimzyanov
2020-08-13 18:59:30 +03:00
parent 0a9089bc72
commit 27b2e16141
57 changed files with 0 additions and 2245 deletions
@@ -1,12 +0,0 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'firstOrNull{}'"
// IS_APPLICABLE_2: false
fun getFirstValue() = "value"
fun foo(list: List<String?>): String? {
val value = getFirstValue()
val found: String? =
list.firstOrNull { it != null && !it.startsWith("IMG:") && it.contains(value) }
return found
}