Move filetype and language stats to ml.impl (IDEA-294304)
authorAdam Malek <adam.malek@jetbrains.com>
Thu, 19 May 2022 08:50:42 +0000 (10:50 +0200)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Fri, 20 May 2022 06:10:30 +0000 (06:10 +0000)
To remove the dependency on intellij.platform.analysis from
intellij.platform.statistics the two statistics providers
for file type and language are moved to intellij.platform.ml.impl
module.

GitOrigin-RevId: ee9dc4e9f8a2381a2594f266b093bacef7184aeb

platform/ml-impl/src/com/intellij/internal/statistic/local/FileTypeUsageLocalSummary.kt [moved from platform/statistics/src/com/intellij/internal/statistic/local/FileTypeUsageLocalSummary.kt with 100% similarity]
platform/ml-impl/src/com/intellij/internal/statistic/local/FileTypeUsageSummaryProvider.kt [moved from platform/statistics/src/com/intellij/internal/statistic/local/FileTypeUsageSummaryProvider.kt with 100% similarity]
platform/ml-impl/src/com/intellij/internal/statistic/local/LanguageUsageStatistics.kt [moved from platform/statistics/src/com/intellij/internal/statistic/local/LanguageUsageStatistics.kt with 100% similarity]
platform/ml-impl/src/com/intellij/internal/statistic/local/LanguageUsageStatisticsProvider.kt [moved from platform/statistics/src/com/intellij/internal/statistic/local/LanguageUsageStatisticsProvider.kt with 100% similarity]
platform/ml-impl/src/com/intellij/internal/statistic/local/TestFileTypeUsageSummaryProvider.kt [moved from platform/statistics/src/com/intellij/internal/statistic/local/TestFileTypeUsageSummaryProvider.kt with 81% similarity]
platform/statistics/intellij.platform.statistics.iml

similarity index 81%
rename from platform/statistics/src/com/intellij/internal/statistic/local/TestFileTypeUsageSummaryProvider.kt
rename to platform/ml-impl/src/com/intellij/internal/statistic/local/TestFileTypeUsageSummaryProvider.kt
index 5673904e80902ae80059f3db1399900679e6e335..9be3cf5dca3ab01c77a552fdfbd1ece3dd705a90 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
+// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
 package com.intellij.internal.statistic.local
 
 import org.jetbrains.annotations.TestOnly
index b128d7cb7eb1f352259fadbd9ad71ccaeac1b0f6..935c15f061754b07610513af722c1cf1bd5f928c 100644 (file)
@@ -26,6 +26,5 @@
     <orderEntry type="module" module-name="intellij.platform.editor" />
     <orderEntry type="module" module-name="intellij.platform.ide.core" />
     <orderEntry type="module" module-name="intellij.platform.projectModel" />
-    <orderEntry type="module" module-name="intellij.platform.analysis" />
   </component>
 </module>
\ No newline at end of file