mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
ML in SE: Remove unused method from SearchEverywhereMLItemInfo
GitOrigin-RevId: c5b8d475c40fd42a3b33e701c4343c57e2dd497c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d9bb147266
commit
2085cc8f7b
@@ -58,9 +58,4 @@ internal class SearchEverywhereMlSearchState(
|
||||
internal data class SearchEverywhereMLItemInfo(val id: Int?,
|
||||
val contributorId: String,
|
||||
val features: List<EventPair<*>>,
|
||||
val contributorFeatures: List<EventPair<*>>) {
|
||||
fun featuresAsMap(): Map<String, Any> = features.mapNotNull {
|
||||
val data = it.data
|
||||
if (data == null) null else it.field.name to data
|
||||
}.toMap()
|
||||
}
|
||||
val contributorFeatures: List<EventPair<*>>)
|
||||
|
||||
Reference in New Issue
Block a user