Skip to content

Commit 341a430

Browse files
committed
cleanup
1 parent c5870b5 commit 341a430

File tree

1 file changed

+0
-8
lines changed
  • plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/credentials

1 file changed

+0
-8
lines changed

plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/credentials/CodeWhispererClientAdaptor.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ import software.aws.toolkits.telemetry.CodewhispererCompletionType
6060
import software.aws.toolkits.telemetry.CodewhispererSuggestionState
6161
import java.time.Instant
6262
import java.util.concurrent.TimeUnit
63-
import kotlin.reflect.KProperty0
64-
import kotlin.reflect.jvm.isAccessible
6563

6664
// As the connection is project-level, we need to make this project-level too
6765
@Deprecated("Methods can throw a NullPointerException if callee does not check if connection is valid")
@@ -267,12 +265,6 @@ open class CodeWhispererClientAdaptorImpl(override val project: Project) : CodeW
267265
@Volatile
268266
private var myBearerClient: CodeWhispererRuntimeClient? = null
269267

270-
private val KProperty0<*>.isLazyInitialized: Boolean
271-
get() {
272-
isAccessible = true
273-
return (getDelegate() as Lazy<*>).isInitialized()
274-
}
275-
276268
init {
277269
initClientUpdateListener()
278270
}

0 commit comments

Comments
 (0)