Skip to content

Commit 5d22e51

Browse files
committed
remove hardcoding of class name
1 parent cb6a4c8 commit 5d22e51

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/services/telemetry/AwsToolkitStartupMetrics.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,8 @@ import software.aws.toolkits.telemetry.SessionTelemetry
1010

1111
class AwsToolkitStartupMetrics : ProjectActivity {
1212
override suspend fun execute(project: Project) {
13-
RunOnceUtil.runOnceForApp(taskId) {
13+
RunOnceUtil.runOnceForApp(this::class.qualifiedName.toString()) {
1414
SessionTelemetry.start(project)
1515
}
1616
}
17-
private companion object {
18-
const val taskId = "software.aws.toolkits.jetbrains.services.telemetry.AwsToolkitStartupMetrics"
19-
}
2017
}

0 commit comments

Comments
 (0)