Fix spaces in FUS event_id and context, as it cause problems in whitelisting
This commit is contained in:
@@ -9,7 +9,7 @@ import org.jetbrains.kotlin.idea.statistics.FUSEventGroups
|
|||||||
import org.jetbrains.kotlin.idea.statistics.KotlinFUSLogger
|
import org.jetbrains.kotlin.idea.statistics.KotlinFUSLogger
|
||||||
|
|
||||||
enum class ConversionType(val text: String) {
|
enum class ConversionType(val text: String) {
|
||||||
FILES("Files"), PSI_EXPRESSION("PSI expression"), TEXT_EXPRESSION("Text expression");
|
FILES("Files"), PSI_EXPRESSION("PSI_expression"), TEXT_EXPRESSION("Text_expression");
|
||||||
}
|
}
|
||||||
|
|
||||||
fun logJ2kConversionStatistics(
|
fun logJ2kConversionStatistics(
|
||||||
@@ -20,9 +20,9 @@ fun logJ2kConversionStatistics(
|
|||||||
filesCount: Int
|
filesCount: Int
|
||||||
) {
|
) {
|
||||||
val data = mapOf(
|
val data = mapOf(
|
||||||
"Lines count" to linesCount,
|
"Lines_count" to linesCount,
|
||||||
"Files count" to filesCount,
|
"Files_count" to filesCount,
|
||||||
"Is new J2K" to isNewJ2k,
|
"Is_new_J2K" to isNewJ2k,
|
||||||
"Time" to conversionTime
|
"Time" to conversionTime
|
||||||
).map { (key, value) ->
|
).map { (key, value) ->
|
||||||
key to value.toString()
|
key to value.toString()
|
||||||
|
|||||||
Reference in New Issue
Block a user