inlined field for better look
This commit is contained in:
@@ -12,8 +12,7 @@ import org.jetbrains.kotlin.idea.KotlinPluginUtil
|
|||||||
|
|
||||||
open class KotlinStatisticsTrigger {
|
open class KotlinStatisticsTrigger {
|
||||||
companion object {
|
companion object {
|
||||||
private val VERSION = KotlinPluginUtil.getPluginVersion()
|
private val context = FeatureUsageData().addData("plugin_version", KotlinPluginUtil.getPluginVersion())
|
||||||
private val context = FeatureUsageData().addData("plugin_version", VERSION)
|
|
||||||
|
|
||||||
fun trigger(trigger: KotlinEventTrigger, event: String) {
|
fun trigger(trigger: KotlinEventTrigger, event: String) {
|
||||||
FUCounterUsageLogger.getInstance().logEvent(trigger.GROUP_ID, event, context)
|
FUCounterUsageLogger.getInstance().logEvent(trigger.GROUP_ID, event, context)
|
||||||
|
|||||||
Reference in New Issue
Block a user