Fix unmodifiable list referencing issue #260
Merged
tcdlpds
merged 2 commits from rajitha/device-mgt-core:admin-role-isssue
into master
1 year ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'rajitha/device-mgt-core:admin-role-isssue'
Deleting a branch is permanent. It CANNOT be undone. Continue?
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.
ae5bcf4f8a
into master 1 year agoae5bcf4f8a
.