Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2003-04-02 23:28:54 -0500
committerAlain Magloire2003-04-02 23:28:54 -0500
commit8dbf5c40a6a88f272ea909354f240d955da6b287 (patch)
treed78450fa94a9e9a5325baf69375c723ea92154af
parent34f18c1a07d087cc6ef92e0a234ef4d75caf3d9f (diff)
downloadorg.eclipse.cdt-8dbf5c40a6a88f272ea909354f240d955da6b287.tar.gz
org.eclipse.cdt-8dbf5c40a6a88f272ea909354f240d955da6b287.tar.xz
org.eclipse.cdt-8dbf5c40a6a88f272ea909354f240d955da6b287.zip
Bug fix, not initializing fPathEntries
-rw-r--r--core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CDescriptor.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CDescriptor.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CDescriptor.java
index bac4773a0a..3bffb90854 100644
--- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CDescriptor.java
+++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CDescriptor.java
@@ -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;
}

Back to the top