Skip to content

Commit 3dd5101

Browse files
committed
detekt
1 parent c997e48 commit 3dd5101

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLspService.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ private class AmazonQServerInstance(private val project: Project, private val cs
325325
this@AmazonQServerInstance.apply {
326326
DefaultAuthCredentialsService(project, encryptionManager, this)
327327
TextDocumentServiceHandler(project, this)
328-
WorkspaceServiceHandler(project, initializeResult.getCompleted(), this)
328+
WorkspaceServiceHandler(project, initializeResult.getCompleted(), this)
329329
DefaultModuleDependenciesService(project, this)
330330
}
331331
}

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/workspace/WorkspaceServiceHandler.kt

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import com.intellij.openapi.vfs.newvfs.events.VFileCreateEvent
1414
import com.intellij.openapi.vfs.newvfs.events.VFileDeleteEvent
1515
import com.intellij.openapi.vfs.newvfs.events.VFileEvent
1616
import com.intellij.openapi.vfs.newvfs.events.VFilePropertyChangeEvent
17-
import kotlinx.coroutines.Deferred
1817
import org.eclipse.lsp4j.CreateFilesParams
1918
import org.eclipse.lsp4j.DeleteFilesParams
2019
import org.eclipse.lsp4j.DidChangeWatchedFilesParams
@@ -38,7 +37,7 @@ import java.nio.file.Paths
3837

3938
class WorkspaceServiceHandler(
4039
private val project: Project,
41-
private val initializeResult: InitializeResult,
40+
initializeResult: InitializeResult,
4241
serverInstance: Disposable,
4342
) : BulkFileListener,
4443
ModuleRootListener {

plugins/amazonq/shared/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/amazonq/lsp/workspace/WorkspaceServiceHandlerTest.kt

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import io.mockk.mockkStatic
2323
import io.mockk.runs
2424
import io.mockk.slot
2525
import io.mockk.verify
26-
import kotlinx.coroutines.CompletableDeferred
2726
import kotlinx.coroutines.test.runTest
2827
import org.eclipse.lsp4j.CreateFilesParams
2928
import org.eclipse.lsp4j.DeleteFilesParams

0 commit comments

Comments
 (0)