Separate interfaces and implementation
authorVitaliy Bibaev <roenke54@gmail.com>
Wed, 13 Dec 2017 10:46:36 +0000 (13:46 +0300)
committerVitaliy Bibaev <roenke54@gmail.com>
Wed, 13 Dec 2017 10:46:36 +0000 (13:46 +0300)
plugins/stats-collector/src/com/intellij/completion/FeatureManagerImpl.kt
plugins/stats-collector/src/com/intellij/sorting/MLSorter.kt
plugins/stats-collector/test/com/intellij/sorting/CompletionOrderWithFakeRankerTest.kt
plugins/stats-collector/test/com/intellij/sorting/UpdateExperimentStatusTest.kt
plugins/stats-collector/test/com/intellij/sorting/Utils.kt

index 9f590d0c167dae9ec7e957faf70498f84b279630..21b6fd62c9d9b7153a31fe4860032679912f0943 100644 (file)
@@ -3,6 +3,9 @@ package com.intellij.completion
 import com.intellij.openapi.application.ApplicationManager
 import com.intellij.openapi.components.ApplicationComponent
 import com.jetbrains.completion.ranker.features.*
+import com.jetbrains.completion.ranker.features.impl.FeatureInterpreterImpl
+import com.jetbrains.completion.ranker.features.impl.FeatureManagerFactory
+import com.jetbrains.completion.ranker.features.impl.FeatureReader
 
 /**
  * @author Vitaliy.Bibaev
index a28505203379c3f3c3ca84c1bcad877b21d7e6f6..66bb050806e8e9a9a6a984e81af2d8e02d90c4ef 100644 (file)
@@ -31,7 +31,7 @@ import com.intellij.psi.util.PsiUtilCore
 import com.intellij.stats.completion.prefixLength
 import com.intellij.stats.experiment.WebServiceStatus
 import com.intellij.stats.personalization.UserFactorsManager
-import com.jetbrains.completion.ranker.features.FeatureUtils
+import com.jetbrains.completion.ranker.features.impl.FeatureUtils
 import java.util.*
 
 @Suppress("DEPRECATION")
index e45da6fa286f216bacf2303ebd601f24926afb71..bb7176d9de828c1ab31bae25281045f3d62b32ad 100644 (file)
@@ -31,7 +31,7 @@ import com.intellij.stats.experiment.WebServiceStatusProvider
 import com.intellij.stats.experiment.WebServiceStatus
 import com.intellij.stats.network.service.RequestService
 import com.intellij.stats.network.service.ResponseData
-import com.jetbrains.completion.ranker.features.FeatureUtils
+import com.jetbrains.completion.ranker.features.impl.FeatureUtils
 import com.nhaarman.mockito_kotlin.any
 import com.nhaarman.mockito_kotlin.mock
 import org.assertj.core.api.Assertions
index d755a56e86ccf435a3229b579125b4f95ecb41a6..e383b77b9bbc3dd29595c8a17752dc7287483c0f 100644 (file)
@@ -21,7 +21,7 @@ import com.intellij.codeInsight.lookup.impl.LookupImpl
 import com.intellij.ide.highlighter.JavaFileType
 import com.intellij.mocks.TestRequestService
 import com.intellij.stats.experiment.WebServiceStatus
-import com.jetbrains.completion.ranker.features.FeatureUtils
+import com.jetbrains.completion.ranker.features.impl.FeatureUtils
 import org.assertj.core.api.Assertions.assertThat
 
 
index de14f770e5492724793f6a3d26e2cdb8cf50f077..21698af9f9af1c5cac3badbfaed837ebc77c8ef3 100644 (file)
@@ -19,7 +19,7 @@ package com.intellij.sorting
 import com.intellij.codeInsight.lookup.LookupElement
 import com.intellij.codeInsight.lookup.impl.LookupImpl
 import com.intellij.openapi.util.Pair
-import com.jetbrains.completion.ranker.features.FeatureUtils
+import com.jetbrains.completion.ranker.features.impl.FeatureUtils
 import org.assertj.core.api.Assertions