Skip to content

Commit 10838fc

Browse files
committed
Minor style tweak
1 parent 28c1228 commit 10838fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class KotlinLanguageServer : LanguageServer, LanguageClientAware, Closeable {
2828
val sourcePath = SourcePath(classPath, uriContentProvider, config.indexing)
2929
val sourceFiles = SourceFiles(sourcePath, uriContentProvider)
3030

31-
private val textDocuments = KotlinTextDocumentService(sourceFiles, sourcePath, config, tempDirectory, uriContentProvider, classPath)
31+
private val textDocuments = KotlinTextDocumentService(sourceFiles, sourcePath, classPath, config, tempDirectory, uriContentProvider)
3232
private val workspaces = KotlinWorkspaceService(sourceFiles, sourcePath, classPath, textDocuments, config)
3333
private val protocolExtensions = KotlinProtocolExtensionService(uriContentProvider)
3434

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ import java.util.concurrent.CompletableFuture
3636
class KotlinTextDocumentService(
3737
private val sf: SourceFiles,
3838
private val sp: SourcePath,
39+
private val classPath: CompilerClassPath,
3940
private val config: Configuration,
4041
private val tempDirectory: TemporaryDirectory,
41-
private val uriContentProvider: URIContentProvider,
42-
private val classPath: CompilerClassPath
42+
private val uriContentProvider: URIContentProvider
4343
) : TextDocumentService, Closeable {
4444
private lateinit var client: LanguageClient
4545
private val async = AsyncExecutor()

0 commit comments

Comments
 (0)