Skip to content

Commit 061fd25

Browse files
committed
Fix linting errors
1 parent 4808425 commit 061fd25

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/controller/ChatController.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ class ChatController private constructor(
336336
// Create prompt
337337
val prompt = if (EditorContextCommand.GenerateUnitTests == message.command)
338338
"${message.command.verb} the following part of my code for me: $codeSelection" else
339-
"${message.command} the following part of my code for me: $codeSelection";
339+
"${message.command} the following part of my code for me: $codeSelection"
340340

341341
processPromptActions(prompt, message, triggerId, fileContext)
342342
}

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/controller/chat/messenger/ChatPromptHandler.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ import kotlinx.coroutines.flow.onCompletion
1010
import kotlinx.coroutines.flow.onStart
1111
import software.amazon.awssdk.awscore.exception.AwsServiceException
1212
import software.amazon.awssdk.services.codewhispererstreaming.model.CodeWhispererStreamingException
13-
import software.amazon.awssdk.services.codewhispererstreaming.model.UserIntent
14-
import software.amazon.awssdk.services.codewhispererstreaming.model.ValidationException
1513
import software.aws.toolkits.core.utils.convertMarkdownToHTML
1614
import software.aws.toolkits.jetbrains.services.cwc.clients.chat.exceptions.ChatApiException
1715
import software.aws.toolkits.jetbrains.services.cwc.clients.chat.model.ChatRequestData

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/controller/chat/userIntent/UserIntentRecognizer.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33

44
package software.aws.toolkits.jetbrains.services.cwc.controller.chat.userIntent
55

6-
import com.intellij.openapi.actionSystem.CommonDataKeys
76
import software.amazon.awssdk.services.codewhispererstreaming.model.UserIntent
8-
import software.aws.toolkits.jetbrains.core.credentials.AwsBearerTokenConnection
9-
import software.aws.toolkits.jetbrains.core.credentials.ToolkitConnectionManager
10-
import software.aws.toolkits.jetbrains.core.credentials.pinning.QConnection
117
import software.aws.toolkits.jetbrains.services.amazonq.onboarding.OnboardingPageInteraction
128
import software.aws.toolkits.jetbrains.services.amazonq.onboarding.OnboardingPageInteractionType
139
import software.aws.toolkits.jetbrains.services.cwc.clients.chat.model.FollowUpType

0 commit comments

Comments
 (0)