[full-line] ML-2050 Remove MLCompletionCorrectnessSupporterBase

GitOrigin-RevId: 25c649e6f60490479c34e5ad16c9b1fa06e72a3e
This commit is contained in:
Petr Surkov
2023-12-11 11:13:46 +00:00
committed by intellij-monorepo-bot
parent 76313e4ecb
commit d84c96e01c
2 changed files with 2 additions and 14 deletions
@@ -1,12 +0,0 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.ml.impl.correctness
import com.intellij.platform.ml.impl.correctness.autoimport.ImportFixer
import com.intellij.platform.ml.impl.correctness.checker.CorrectnessCheckerBase
import org.jetbrains.annotations.ApiStatus
@ApiStatus.Internal
abstract class MLCompletionCorrectnessSupporterBase : MLCompletionCorrectnessSupporter {
override val correctnessChecker = CorrectnessCheckerBase()
override val importFixer: ImportFixer = ImportFixer.EMPTY
}
@@ -2,12 +2,12 @@
package com.jetbrains.python.codeInsight.mlcompletion.correctness
import com.intellij.lang.Language
import com.intellij.platform.ml.impl.correctness.MLCompletionCorrectnessSupporterBase
import com.intellij.platform.ml.impl.correctness.MLCompletionCorrectnessSupporter
import com.jetbrains.python.PythonLanguage
import com.jetbrains.python.codeInsight.mlcompletion.correctness.autoimport.PythonImportFixer
import com.jetbrains.python.codeInsight.mlcompletion.correctness.checker.PythonCorrectnessChecker
class PythonMLCompletionCorrectnessSupporter : MLCompletionCorrectnessSupporterBase() {
class PythonMLCompletionCorrectnessSupporter : MLCompletionCorrectnessSupporter {
override val correctnessChecker: PythonCorrectnessChecker = PythonCorrectnessChecker()
override val importFixer: PythonImportFixer = PythonImportFixer()