mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:10:43 +07:00
ML in SE: Replace deprecated StringListValidatedByCustomRule in PLUGIN_ID field (IDEA-330469)
GitOrigin-RevId: af6a7a675e2291b76a19e0e4a55acf8d0ae1795b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e1ab0116db
commit
09bfa39838
@@ -7,6 +7,7 @@ import com.intellij.ide.actions.searcheverywhere.TopHitSEContributor
|
||||
import com.intellij.ide.util.gotoByName.GotoActionModel
|
||||
import com.intellij.ide.util.gotoByName.GotoActionModel.ActionWrapper
|
||||
import com.intellij.ide.util.gotoByName.MatchMode
|
||||
import com.intellij.internal.statistic.collectors.fus.PluginIdRuleValidator
|
||||
import com.intellij.internal.statistic.eventLog.events.EventField
|
||||
import com.intellij.internal.statistic.eventLog.events.EventFields
|
||||
import com.intellij.internal.statistic.eventLog.events.EventPair
|
||||
@@ -37,7 +38,7 @@ internal class SearchEverywhereActionFeaturesProvider :
|
||||
internal val HAS_ICON_KEY = EventFields.Boolean("withIcon")
|
||||
internal val WEIGHT_KEY = EventFields.Double("weight")
|
||||
internal val PLUGIN_TYPE = EventFields.StringValidatedByEnum("pluginType", "plugin_type")
|
||||
internal val PLUGIN_ID = EventFields.StringValidatedByCustomRule("pluginId", "plugin")
|
||||
internal val PLUGIN_ID = EventFields.StringValidatedByCustomRule("pluginId", PluginIdRuleValidator::class.java)
|
||||
|
||||
private val GLOBAL_STATISTICS_DEFAULT = GlobalStatisticsFields(ActionsGlobalSummaryManager.getDefaultStatisticsVersion())
|
||||
private val GLOBAL_STATISTICS_UPDATED = GlobalStatisticsFields(ActionsGlobalSummaryManager.getUpdatedStatisticsVersion())
|
||||
|
||||
Reference in New Issue
Block a user