Skip to content

Commit 19466be

Browse files
committed
ktlint
1 parent cae7827 commit 19466be

File tree

5 files changed

+3
-6
lines changed

5 files changed

+3
-6
lines changed

aws-runtime/aws-config/common/src/aws/sdk/kotlin/runtime/auth/AuthTokenGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class AuthTokenGenerator(
3737
public val credentialsProvider: CredentialsProvider = DefaultChainCredentialsProvider(),
3838
public val credentialsRefreshBuffer: Duration = 10.seconds,
3939
public val signer: AwsSigner = DefaultAwsSigner,
40-
public val clock: Clock = Clock.System
40+
public val clock: Clock = Clock.System,
4141
) {
4242
private lateinit var credentials: ExpiringValue<Credentials>
4343

services/dsql/common/src/aws/sdk/kotlin/services/dsql/DsqlAuthTokenGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class DsqlAuthTokenGenerator(
2626
public val credentialsProvider: CredentialsProvider = DefaultChainCredentialsProvider(),
2727
public val credentialsRefreshBuffer: Duration = 10.seconds,
2828
public val signer: AwsSigner = DefaultAwsSigner,
29-
public val clock: Clock = Clock.System
29+
public val clock: Clock = Clock.System,
3030
) {
3131
private val generator = AuthTokenGenerator("dsql", credentialsProvider, credentialsRefreshBuffer, signer, clock)
3232

services/dsql/common/test/aws/sdk/kotlin/services/dsql/DsqlAuthTokenGeneratorTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import kotlinx.coroutines.test.runTest
1414
import kotlin.test.Test
1515
import kotlin.test.assertContains
1616
import kotlin.test.assertFalse
17-
import kotlin.test.assertTrue
1817
import kotlin.time.Duration.Companion.seconds
1918

2019
class DsqlAuthTokenGeneratorTest {

services/rds/common/src/aws/sdk/kotlin/services/rds/RdsAuthTokenGenerator.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import aws.smithy.kotlin.runtime.auth.awssigning.AwsSigner
1212
import aws.smithy.kotlin.runtime.auth.awssigning.DefaultAwsSigner
1313
import aws.smithy.kotlin.runtime.net.url.Url
1414
import aws.smithy.kotlin.runtime.time.Clock
15-
import kotlinx.coroutines.runBlocking
1615
import kotlin.apply
1716
import kotlin.time.Duration
1817
import kotlin.time.Duration.Companion.seconds
@@ -28,7 +27,7 @@ public class RdsAuthTokenGenerator(
2827
public val credentialsProvider: CredentialsProvider = DefaultChainCredentialsProvider(),
2928
public val credentialsRefreshBuffer: Duration = 10.seconds,
3029
public val signer: AwsSigner = DefaultAwsSigner,
31-
public val clock: Clock = Clock.System
30+
public val clock: Clock = Clock.System,
3231
) {
3332
private val generator = AuthTokenGenerator("rds-db", credentialsProvider, credentialsRefreshBuffer, signer, clock)
3433

services/rds/common/test/RdsAuthTokenGeneratorTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import kotlinx.coroutines.test.runTest
1414
import kotlin.test.Test
1515
import kotlin.test.assertContains
1616
import kotlin.test.assertFalse
17-
import kotlin.test.assertTrue
1817
import kotlin.time.Duration.Companion.seconds
1918

2019
class RdsAuthTokenGeneratorTest {

0 commit comments

Comments
 (0)