Code cleanup: convert flatMap { it } into flatten()
This commit is contained in:
+1
-1
@@ -149,7 +149,7 @@ class ExpressionsOfTypeProcessor(
|
||||
|
||||
runReadAction {
|
||||
val scopeElements = scopesToUsePlainSearch.values
|
||||
.flatMap { it }
|
||||
.flatten()
|
||||
.filter { it.isValid }
|
||||
.toTypedArray()
|
||||
if (scopeElements.isNotEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user