review: Update signature and keep formatters grouped together
This commit is contained in:
parent
4437d4d9df
commit
9a8046c02d
2 changed files with 3 additions and 3 deletions
|
|
@ -54,8 +54,8 @@ class DefaultRoomLatestEventFormatter(
|
|||
private val roomMembershipContentFormatter: RoomMembershipContentFormatter,
|
||||
private val profileChangeContentFormatter: ProfileChangeContentFormatter,
|
||||
private val stateContentFormatter: StateContentFormatter,
|
||||
private val permalinkParser: PermalinkParser,
|
||||
private val rtcNotificationContentFormatter: RtcNotificationContentFormatter,
|
||||
private val permalinkParser: PermalinkParser,
|
||||
) : RoomLatestEventFormatter {
|
||||
override fun format(
|
||||
latestEvent: LatestEventValue.Local,
|
||||
|
|
|
|||
|
|
@ -74,8 +74,8 @@ class DefaultRoomLatestEventFormatterTest {
|
|||
roomMembershipContentFormatter = RoomMembershipContentFormatter(fakeMatrixClient, stringProvider),
|
||||
profileChangeContentFormatter = ProfileChangeContentFormatter(stringProvider),
|
||||
stateContentFormatter = StateContentFormatter(stringProvider),
|
||||
permalinkParser = FakePermalinkParser(),
|
||||
rtcNotificationContentFormatter = RtcNotificationContentFormatter(fakeMatrixClient, stringProvider)
|
||||
rtcNotificationContentFormatter = RtcNotificationContentFormatter(fakeMatrixClient, stringProvider),
|
||||
permalinkParser = FakePermalinkParser()
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue