mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 06:45:43 +02:00
Bug fix, not initializing fPathEntries
This commit is contained in:
parent
34f18c1a07
commit
8dbf5c40a6
1 changed files with 5 additions and 2 deletions
|
@ -320,15 +320,18 @@ public class CDescriptor implements ICDescriptor {
|
||||||
childNode = list.item(i);
|
childNode = list.item(i);
|
||||||
if ( childNode.getNodeType() == Node.ELEMENT_NODE ) {
|
if ( childNode.getNodeType() == Node.ELEMENT_NODE ) {
|
||||||
if (childNode.getNodeName().equals(PROJECT_EXTENSION)) {
|
if (childNode.getNodeName().equals(PROJECT_EXTENSION)) {
|
||||||
decodeProjectExtension((Element)node);
|
//decodeProjectExtension((Element)node);
|
||||||
|
decodeProjectExtension((Element)childNode);
|
||||||
} else if (childNode.getNodeName().equals(PATH_ENTRY)) {
|
} 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) {
|
if (entry != null) {
|
||||||
pathEntries.add(entry);
|
pathEntries.add(entry);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fPathEntries = (ICPathEntry[]) pathEntries.toArray(new ICPathEntry[0]);
|
||||||
return ownerID;
|
return ownerID;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue