1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

fixed bug where multiple binaries would show up after opening a project.

This commit is contained in:
David Inglis 2004-04-13 20:22:35 +00:00
parent 976822c247
commit d9f3f27b16
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2004-04-13 David Inglis
Since the binary runner and the CModelManager adds binarys we need to make sure
the child was not already added in the info.
* src/org/eclipse/cdt/internal/core/model/CElementInfo.java
2004-04-13 Alain Magloire
When encoding the PathEntry, make the "path" attribute project relative if

View file

@ -45,8 +45,10 @@ class CElementInfo {
}
protected void addChild(ICElement child) {
if (!fChildren.contains(child)) {
fChildren.add(child);
}
}
protected ICElement[] getChildren() {
ICElement[] array= new ICElement[fChildren.size()];