adding trailing commas

This commit is contained in:
Adam Brown 2022-09-21 16:37:31 +01:00
parent d75e37966c
commit 600588dbbb
4 changed files with 4 additions and 4 deletions

View File

@ -105,7 +105,7 @@ class CommonTestHelper internal constructor(context: Context) {
MatrixConfiguration(
applicationFlavor = "TestFlavor",
roomDisplayNameFallbackProvider = TestRoomDisplayNameFallbackProvider(),
syncConfig = SyncConfig(longPollTimeout = 5_000L)
syncConfig = SyncConfig(longPollTimeout = 5_000L),
)
)
}

View File

@ -73,5 +73,5 @@ data class MatrixConfiguration(
/**
* Sync configuration.
*/
val syncConfig: SyncConfig = SyncConfig()
val syncConfig: SyncConfig = SyncConfig(),
)

View File

@ -20,5 +20,5 @@ data class SyncConfig(
/**
* Time to keep sync connection alive for before making another request in milliseconds.
*/
val longPollTimeout: Long = 30_000L
val longPollTimeout: Long = 30_000L,
)

View File

@ -26,7 +26,7 @@ fun getMatrixInstance(): Matrix {
val context = InstrumentationRegistry.getInstrumentation().targetContext
val configuration = MatrixConfiguration(
roomDisplayNameFallbackProvider = VectorRoomDisplayNameFallbackProvider(context),
syncConfig = SyncConfig(longPollTimeout = 5_000L)
syncConfig = SyncConfig(longPollTimeout = 5_000L),
)
return Matrix(context, configuration)
}