This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1174841] UnsupportedOperationException on mergeInventoryReport()
Avoid the use of Iterator.remove() because Resources coming from the Agent may be using a customized impl for Resource.childResources (like CopyOnWriteArraySet). The solution "lazily protects" because the problem scenario is rare (restype reported by agent is not present on the server) and we don't want to do any unnecessary work (like changing the Set impl in advance). (cherry picked from commit 9c37410)
- Loading branch information