Minor changes after code review
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
fun foo(list: List<String>): String? {
|
||||
<spot>return list.firstOrNull { s -> s.length > 0 }</spot>
|
||||
<spot>return list.firstOrNull { it.length > 0 }</spot>
|
||||
}
|
||||
Reference in New Issue
Block a user