mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 18:19:14 +00:00
Kotlin LS: remove unused _java_home field from DependencyProvider
This commit is contained in:
1 parent
b898677b1c
commit
091b2245e3
1 file changed
-4
@@ -85,7 +85,6 @@ class KotlinLanguageServer(SolidLanguageServer):
|
||||
class DependencyProvider(LanguageServerDependencyProviderSinglePath):
|
||||
def __init__(self, custom_settings: SolidLSPSettings.CustomLSSettings, ls_resources_dir: str):
|
||||
super().__init__(custom_settings, ls_resources_dir)
|
||||
self._java_home_path: str | None = None
|
||||
|
||||
def _get_or_install_core_dependency(self) -> str:
|
||||
"""
|
||||
@@ -134,9 +133,6 @@ class KotlinLanguageServer(SolidLanguageServer):
|
||||
"""Provides JAVA_HOME and JVM options for the Kotlin Language Server process."""
|
||||
env: dict[str, str] = {}
|
||||
|
||||
if self._java_home_path is not None:
|
||||
env["JAVA_HOME"] = self._java_home_path
|
||||
|
||||
# Get JVM options from settings or use default
|
||||
# Note: an explicit empty string means "no JVM options", which is distinct from not setting the key
|
||||
_sentinel = object()
|
||||
|
||||
Reference in new issue
Block a user