Skip to content

Commit 50da025

Browse files
committed
Remove KotlinNullableNotNullManager
1 parent 21a9aea commit 50da025

File tree

2 files changed

+0
-67
lines changed

2 files changed

+0
-67
lines changed

server/src/main/kotlin/org/javacs/kt/Compiler.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ import kotlin.script.experimental.host.configurationDependencies
7777
import kotlin.script.experimental.jvm.defaultJvmScriptingHostConfiguration
7878
import kotlin.script.experimental.jvm.JvmDependency
7979
import org.javacs.kt.util.KotlinLSException
80-
import org.javacs.kt.util.KotlinNullableNotNullManager
8180
import org.javacs.kt.util.LoggingMessageCollector
8281

8382
private val GRADLE_DSL_DEPENDENCY_PATTERN = Regex("^gradle-(?:kotlin-dsl|core).*\\.jar$")
@@ -385,10 +384,6 @@ private class CompilationEnvironment(
385384
)
386385

387386
val project = environment.project
388-
if (project is MockProject) {
389-
project.registerService(NullableNotNullManager::class.java, KotlinNullableNotNullManager(project))
390-
}
391-
392387
parser = KtPsiFactory(project)
393388
scripts = ScriptDefinitionProvider.getInstance(project)!! as CliScriptDefinitionProvider
394389
}

server/src/main/kotlin/org/javacs/kt/util/KotlinNullableNotNullManager.kt

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)