From 956b017e5563de497c61568b42557a56a3518fff Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Wed, 9 Oct 2024 20:37:50 +0200 Subject: [PATCH] cleanup GitOrigin-RevId: 0d8f3a68e28f90dc4b641c249060516f0f50ab56 --- plugins/ide-features-trainer/res/META-INF/plugin.xml | 3 +-- .../featuresSuggester/settings/FeatureSuggesterSettings.kt | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/plugins/ide-features-trainer/res/META-INF/plugin.xml b/plugins/ide-features-trainer/res/META-INF/plugin.xml index 850e78dfb7dc..0da2f2950160 100644 --- a/plugins/ide-features-trainer/res/META-INF/plugin.xml +++ b/plugins/ide-features-trainer/res/META-INF/plugin.xml @@ -189,8 +189,7 @@ - + { +internal class FeatureSuggesterSettings : PersistentStateComponent { var suggesters: MutableMap = run { val enabled = isSuggestersEnabledByDefault FeatureSuggester.suggesters.associate { internalId(it.id) to enabled }.toMutableMap() @@ -28,7 +28,7 @@ class FeatureSuggesterSettings : PersistentStateComponent = mutableMapOf() - // List of timestamps (millis) of the first IDE session start for the last days + // the list of timestamps (millis) of the first IDE session start for the last days private var workingDays: MutableList = mutableListOf() val isAnySuggesterEnabled: Boolean