Code cleanup: convert flatMap { it } into flatten()
This commit is contained in:
@@ -270,7 +270,7 @@ class TowerResolver {
|
||||
val candidatesGroups = if (useOrder) {
|
||||
processor.process(towerData)
|
||||
} else {
|
||||
listOf(processor.process(towerData).flatMap { it })
|
||||
listOf(processor.process(towerData).flatten())
|
||||
}
|
||||
|
||||
for (candidatesGroup in candidatesGroups) {
|
||||
|
||||
Reference in New Issue
Block a user