Removing TODOs

This commit is contained in:
Maxime NATUREL 2022-04-28 17:03:17 +02:00
parent 779cbc8c08
commit 4f1596d105
2 changed files with 0 additions and 2 deletions

View file

@ -24,7 +24,6 @@ import org.matrix.android.sdk.internal.database.model.livelocation.LiveLocationA
internal object LiveLocationAggregatedSummaryMapper { internal object LiveLocationAggregatedSummaryMapper {
// TODO add unit tests
fun map(entity: LiveLocationAggregatedSummaryEntity): LiveLocationAggregatedSummary { fun map(entity: LiveLocationAggregatedSummaryEntity): LiveLocationAggregatedSummary {
return LiveLocationAggregatedSummary( return LiveLocationAggregatedSummary(
eventId = entity.eventId, eventId = entity.eventId,

View file

@ -31,7 +31,6 @@ import javax.inject.Inject
internal class DefaultLiveLocationAggregationProcessor @Inject constructor() : LiveLocationAggregationProcessor { internal class DefaultLiveLocationAggregationProcessor @Inject constructor() : LiveLocationAggregationProcessor {
// TODO add unit tests
override fun handleBeaconInfo(realm: Realm, event: Event, content: LiveLocationBeaconContent, roomId: String, isLocalEcho: Boolean) { override fun handleBeaconInfo(realm: Realm, event: Event, content: LiveLocationBeaconContent, roomId: String, isLocalEcho: Boolean) {
if (event.senderId.isNullOrEmpty() || isLocalEcho) { if (event.senderId.isNullOrEmpty() || isLocalEcho) {
return return