Skip to content

Commit

Permalink
adding trailing commas
Browse files Browse the repository at this point in the history
  • Loading branch information
ouchadam committed Sep 21, 2022
1 parent d75e379 commit 600588d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
)
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ data class MatrixConfiguration(
/**
* Sync configuration.
*/
val syncConfig: SyncConfig = SyncConfig()
val syncConfig: SyncConfig = SyncConfig(),
)
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 600588d

Please sign in to comment.