commit | 7a7bf25da4197e5f3e3d77590f3dd7a36931ec43 | [log] [tgz] |
---|---|---|
author | klow <klow> | Mon Sep 20 17:08:38 2010 +0000 |
committer | klow <klow> | Mon Sep 20 17:08:38 2010 +0000 |
tree | 4de7cbd6ee2047d34a66132062dc6bd20af0a397 | |
parent | a13e6e9f63b5c06de9d62a7ef49d7a01021de779 [diff] |
wlu: fixed a potential concurrent access issue.
diff --git a/1.5/plugins/org.eclipse.epf.library.edit/src/org/eclipse/epf/library/edit/TransientGroupItemProvider.java b/1.5/plugins/org.eclipse.epf.library.edit/src/org/eclipse/epf/library/edit/TransientGroupItemProvider.java index 17c3dcd..aee853b 100644 --- a/1.5/plugins/org.eclipse.epf.library.edit/src/org/eclipse/epf/library/edit/TransientGroupItemProvider.java +++ b/1.5/plugins/org.eclipse.epf.library.edit/src/org/eclipse/epf/library/edit/TransientGroupItemProvider.java
@@ -230,6 +230,7 @@ EStructuralFeature feature = (EStructuralFeature) i.next(); if (feature.isMany()) { List children = (List) eObject.eGet(feature); + children = new ArrayList(children); int index = 0; for (Iterator ci = children.iterator(); ci.hasNext(); index++) { Object child = ci.next();