removing unused default constructor param and making queue a data class since it's only manipulating its own internal data

This commit is contained in:
Adam Brown 2021-11-19 09:14:18 +00:00
parent fef604bfb9
commit 55fd362b3d
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ package im.vector.app.features.notifications
import timber.log.Timber import timber.log.Timber
class NotificationEventQueue( data class NotificationEventQueue(
private val queue: MutableList<NotifiableEvent> = mutableListOf(), private val queue: MutableList<NotifiableEvent>,
/** /**
* An in memory FIFO cache of the seen events. * An in memory FIFO cache of the seen events.