File tree Expand file tree Collapse file tree 2 files changed +0
-67
lines changed
server/src/main/kotlin/org/javacs/kt Expand file tree Collapse file tree 2 files changed +0
-67
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ import kotlin.script.experimental.host.configurationDependencies
77
77
import kotlin.script.experimental.jvm.defaultJvmScriptingHostConfiguration
78
78
import kotlin.script.experimental.jvm.JvmDependency
79
79
import org.javacs.kt.util.KotlinLSException
80
- import org.javacs.kt.util.KotlinNullableNotNullManager
81
80
import org.javacs.kt.util.LoggingMessageCollector
82
81
83
82
private val GRADLE_DSL_DEPENDENCY_PATTERN = Regex (" ^gradle-(?:kotlin-dsl|core).*\\ .jar$" )
@@ -385,10 +384,6 @@ private class CompilationEnvironment(
385
384
)
386
385
387
386
val project = environment.project
388
- if (project is MockProject ) {
389
- project.registerService(NullableNotNullManager ::class .java, KotlinNullableNotNullManager (project))
390
- }
391
-
392
387
parser = KtPsiFactory (project)
393
388
scripts = ScriptDefinitionProvider .getInstance(project)!! as CliScriptDefinitionProvider
394
389
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments