mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-25 15:40:28 +08:00
(internal) Use MutableList for grantedPermissionMap
This commit is contained in:
parent
a7777d008a
commit
d3e3db9662
@ -129,8 +129,8 @@ internal object BuiltInPermissionService : AbstractConcurrentPermissionService<P
|
||||
ConcurrentHashMap()
|
||||
)
|
||||
|
||||
public val grantedPermissionMap: MutableMap<PermissionId, List<PermissibleIdentifier>>
|
||||
by value<MutableMap<PermissionId, List<PermissibleIdentifier>>>(ConcurrentHashMap())
|
||||
public val grantedPermissionMap: MutableMap<PermissionId, MutableList<PermissibleIdentifier>>
|
||||
by value<MutableMap<PermissionId, MutableList<PermissibleIdentifier>>>(ConcurrentHashMap())
|
||||
.withDefault { CopyOnWriteArrayList() }
|
||||
|
||||
public companion object {
|
||||
|
Loading…
Reference in New Issue
Block a user