What are the roles of Modification.Type: PREPARE, COMMIT ? These are no longer used for anything, including their correspondent org.infinispan.loaders.modifications.Prepare and org.infinispan.loaders.modifications.Commit classes. Since these are internal classes, we should get rid of them directly.
It appears that since Sanne added ModificationList as type of modification in 4.1 (
ISPN-618), Prepare/Commit are no longer in use.