Skip to content

Commit 3f4b7ba

Browse files
committed
detekt
1 parent 97b5ece commit 3f4b7ba

File tree

1 file changed

+1
-3
lines changed
  • plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/profile

1 file changed

+1
-3
lines changed

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/profile/QRegionProfileManager.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import com.intellij.openapi.project.Project
1515
import com.intellij.util.concurrency.annotations.RequiresBackgroundThread
1616
import com.intellij.util.xmlb.annotations.MapAnnotation
1717
import com.intellij.util.xmlb.annotations.Property
18-
import kotlinx.coroutines.CoroutineScope
1918
import software.amazon.awssdk.core.SdkClient
2019
import software.aws.toolkits.core.TokenConnectionSettings
2120
import software.aws.toolkits.core.utils.debug
@@ -38,12 +37,11 @@ import software.aws.toolkits.telemetry.Telemetry
3837
import java.time.Duration
3938
import java.util.Collections
4039
import java.util.concurrent.CompletableFuture
41-
import java.util.concurrent.Future
4240
import kotlin.reflect.KClass
4341

4442
@Service(Service.Level.APP)
4543
@State(name = "qProfileStates", storages = [Storage("aws.xml")])
46-
class QRegionProfileManager(private val cs: CoroutineScope) : PersistentStateComponent<QProfileState>, Disposable {
44+
class QRegionProfileManager : PersistentStateComponent<QProfileState>, Disposable {
4745

4846
// Map to store connectionId to its active profile
4947
private val connectionIdToActiveProfile = Collections.synchronizedMap<String, QRegionProfile>(mutableMapOf())

0 commit comments

Comments
 (0)