1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Bug fix, not initializing fPathEntries

This commit is contained in:
Alain Magloire 2003-04-03 04:28:54 +00:00
parent 34f18c1a07
commit 8dbf5c40a6

View file

@ -320,15 +320,18 @@ public class CDescriptor implements ICDescriptor {
childNode = list.item(i);
if ( childNode.getNodeType() == Node.ELEMENT_NODE ) {
if (childNode.getNodeName().equals(PROJECT_EXTENSION)) {
decodeProjectExtension((Element)node);
//decodeProjectExtension((Element)node);
decodeProjectExtension((Element)childNode);
} else if (childNode.getNodeName().equals(PATH_ENTRY)) {
ICPathEntry entry = decodePathEntry((Element)node);
//ICPathEntry entry = decodePathEntry((Element)node);
ICPathEntry entry = decodePathEntry((Element)childNode);
if (entry != null) {
pathEntries.add(entry);
}
}
}
}
fPathEntries = (ICPathEntry[]) pathEntries.toArray(new ICPathEntry[0]);
return ownerID;
}