Summary: | XSDModelGroup.getParticles() list is not updated after a particle removal | ||
---|---|---|---|
Product: | [Modeling] EMF | Reporter: | Achille Fokoue <achille> |
Component: | XSD | Assignee: | Ed Merks <Ed.Merks> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | Keywords: | core |
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Achille Fokoue
2003-01-20 11:09:21 EST
Achille, Thanks for providing complete code samples for the problems! This really helps me fix problems very quickly. I fixed it like this: > etools-diff XSDModelGroupImpl.java 15,16c15,16 < * plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDModelGroupImpl.java, xsd, org.eclipse.dev, 20030123_0838TL < * @version 1.18 1/23/03 --- > * %W% > * @version %I% %H% 466c466 < Collection remainingParticles = new ArrayList(); --- > Collection remainingParticles = new ArrayList(getParticles()); 473a474,477 > } > else > { > remainingParticles.remove(xsdParticle); Move to verified as per bug 206558. Move to verified as per bug 206558. |