FUS: fix references in KDoc

GitOrigin-RevId: d6889bcfa5dda6e08192a098719184a8de28b1c3
This commit is contained in:
Anastasia Ivanova
2020-12-01 17:02:03 +01:00
committed by intellij-monorepo-bot
parent e7471f651c
commit 96e22a23df
2 changed files with 4 additions and 4 deletions

View File

@@ -28,9 +28,9 @@ import com.intellij.openapi.vfs.LocalFileSystem
/**
* Collects the data from all state collectors and record it in event log.
*
* @see ApplicationUsagesCollector
* @see com.intellij.internal.statistic.service.fus.collectors.ApplicationUsagesCollector
*
* @see ProjectUsagesCollector
* @see com.intellij.internal.statistic.service.fus.collectors.ProjectUsagesCollector
*/
internal class RecordStateStatisticsEventLogAction(private val recorderId: String = DEFAULT_RECORDER,
private val myShowNotification: Boolean = true) : DumbAwareAction(

View File

@@ -30,14 +30,14 @@ object StatisticsUtil {
/**
* Anonymizes sensitive project properties by rounding it to the next power of two
* @see com.intellij.internal.statistic.collectors.fus.fileTypes.FileTypeUsagesCollector
* See `com.intellij.internal.statistic.collectors.fus.fileTypes.FileTypeUsagesCollector`
*/
@JvmStatic
fun getNextPowerOfTwo(value: Int): Int = if (value <= 1) 1 else Integer.highestOneBit(value - 1) shl 1
/**
* Anonymizes sensitive project properties by rounding it to the next value in steps list.
* @see com.intellij.internal.statistic.collectors.fus.fileTypes.FileTypeUsagesCollector
* See `com.intellij.internal.statistic.collectors.fus.fileTypes.FileTypeUsagesCollector`
*/
fun getCountingStepName(value: Int, steps: List<Int>): String {
if (steps.isEmpty()) return value.toString()