(internal) Use MutableList for grantedPermissionMap

This commit is contained in:
Him188 2020-09-09 22:00:06 +08:00
parent a7777d008a
commit d3e3db9662

View File

@ -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 {