mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +03:00
Use Set instead of List
This commit is contained in:
parent
5f60d7fd3b
commit
6569ee5d10
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ import javax.inject.Inject
|
|||
|
||||
internal class SessionListeners @Inject constructor() {
|
||||
|
||||
private val listeners = ArrayList<Session.Listener>()
|
||||
private val listeners = mutableSetOf<Session.Listener>()
|
||||
|
||||
fun addListener(listener: Session.Listener) {
|
||||
synchronized(listeners) {
|
||||
|
|
Loading…
Add table
Reference in a new issue