[migration to Kotlin LV 2.3] Update Kotlin code w.r.t. KTLC-275

GitOrigin-RevId: d60a5d31017d012846f994bf15cf3c5190b4e321
This commit is contained in:
Stanislav Ruban
2025-08-02 10:33:39 +00:00
committed by intellij-monorepo-bot
parent 9925ce05f9
commit 59f9cd284f
@@ -26,7 +26,7 @@ class SwitcherSpeedSearch private constructor(switcher: SwitcherPanel) : SpeedSe
}
}
fun <T : SwitcherListItem> wrap(model: ListModel<T>): ListModel<T> =
internal fun <T : SwitcherListItem> wrap(model: ListModel<T>): ListModel<T> =
NameFilteringListModel(model,
{ it.mainText + " " + it.pathText },
{ !isPopupActive || compare(it, enteredPrefix) },