You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/util/CodeWhispererZipUploadManager.kt
+2-10Lines changed: 2 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,6 @@ class CodeWhispererZipUploadManager(private val project: Project) {
64
64
var requestId:String?=null
65
65
var requestServiceType:String?=null
66
66
var httpStatusCode:String?=null
67
-
var id2:String?=null
68
67
try {
69
68
// Throw error if zipFile is invalid.
70
69
if (!zipFile.exists()) {
@@ -79,7 +78,7 @@ class CodeWhispererZipUploadManager(private val project: Project) {
79
78
val url = createUploadUrlResponse.uploadUrl()
80
79
LOG.debug { "$featureUseCase: Uploading $artifactType using the presigned URL." }
81
80
82
-
val connection =uploadArtifactToS3(
81
+
uploadArtifactToS3(
83
82
url,
84
83
createUploadUrlResponse.uploadId(),
85
84
zipFile,
@@ -88,8 +87,6 @@ class CodeWhispererZipUploadManager(private val project: Project) {
0 commit comments