Author: koen.aers(a)jboss.com
Date: 2009-05-25 17:22:02 -0400 (Mon, 25 May 2009)
New Revision: 15496
Modified:
trunk/flow/plugins/org.jboss.tools.flow.common/META-INF/MANIFEST.MF
trunk/flow/plugins/org.jboss.tools.flow.common/src/org/jboss/tools/flow/common/wrapper/AbstractWrapper.java
Log:
removal of ConcurrentModificationException when removing a node from a process
Modified: trunk/flow/plugins/org.jboss.tools.flow.common/META-INF/MANIFEST.MF
===================================================================
--- trunk/flow/plugins/org.jboss.tools.flow.common/META-INF/MANIFEST.MF 2009-05-25
17:25:50 UTC (rev 15495)
+++ trunk/flow/plugins/org.jboss.tools.flow.common/META-INF/MANIFEST.MF 2009-05-25
21:22:02 UTC (rev 15496)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.tools.flow.common;singleton:=true
-Bundle-Version: 1.0.0.beta2
+Bundle-Version: 1.0.0.CR1
Bundle-Activator: org.jboss.tools.flow.common.Activator
Bundle-Vendor: %Bundle-Vendor.0
Require-Bundle:
Modified:
trunk/flow/plugins/org.jboss.tools.flow.common/src/org/jboss/tools/flow/common/wrapper/AbstractWrapper.java
===================================================================
---
trunk/flow/plugins/org.jboss.tools.flow.common/src/org/jboss/tools/flow/common/wrapper/AbstractWrapper.java 2009-05-25
17:25:50 UTC (rev 15495)
+++
trunk/flow/plugins/org.jboss.tools.flow.common/src/org/jboss/tools/flow/common/wrapper/AbstractWrapper.java 2009-05-25
21:22:02 UTC (rev 15496)
@@ -97,8 +97,8 @@
}
public void notifyListeners(ModelEvent event) {
- for (ModelListener listener: listeners) {
- listener.modelChanged(event);
+ for (int i = 0; i < listeners.size(); i++) {
+ listeners.get(i).modelChanged(event);
}
}
Show replies by date