mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
It's impossible to instantiate/clone a generic collection, so if a member of the collection changes then our only option is to attempt to remove it. This has two problems. Firstly, this is far more brutal than we desire in many cases. Secondly, some collections do not implement the remove method (e.g. anything returned by Arrays.asList()). As an attempt to work around this issue we've created some specific implementation processors. This introduces new potential problems - e.g. if someone has used an exotic type of list it will be replaced with an ArrayList by the ListPostMethodInvocationProcessor. +review RM git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107355 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261