Fix ConcurrentModificationException in DiagramMigrationHook

Due to changes in Papyrus, the diagram migration seems to possibly
resolve additional models, which impacts the list of resources in the
resource set. Therefore, we should clone the list of resources before
iterating through them for invoking the diagram migration.

Change-Id: I2cbd33a11fdbdc02e38559bebd958d003f6bc606
Signed-off-by: Philip Langer <planger@eclipsesource.com>
2 files changed
tree: d315f84ed6cd332061ed4b275cff4169b147ca16
  1. .gitattributes
  2. .gitignore
  3. .project
  4. CONTRIBUTING.md
  5. README.MD
  6. plugins/
  7. pom.xml
  8. releng/
  9. tests/
README.MD

Papyrus Collaborative Modeling

This is the collaborative modeling git repository

This repository is hosted at [Eclipse] (http://git.eclipse.org/c/papyrus/org.eclipse.papyrus-collaborativemodeling.git/)