Fix unmodifiable list referencing issue #260

Merged
tcdlpds merged 2 commits from rajitha/device-mgt-core:admin-role-isssue into master 12 months ago
Collaborator

Purpose

Notes

When getting a reference of a list, it is better to create a new list and assign the target list to the new list. Because returned list can be fixed-size unmodifiable list which is returning from a Arrays.asList() method. Hence performing operations on such list will cause errors.

## Purpose ### Notes When getting a reference of a list, it is better to create a new list and assign the target list to the new list. Because returned list can be fixed-size unmodifiable list which is returning from a Arrays.asList() method. Hence performing operations on such list will cause errors.
rajitha added 1 commit 12 months ago
rajitha added 1 commit 12 months ago
tcdlpds merged commit ae5bcf4f8a into master 12 months ago
The pull request has been merged as ae5bcf4f8a.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: community/device-mgt-core#260
Loading…
There is no content yet.