review: Update signature and keep formatters grouped together
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
+2
-2
@@ -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()
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user