1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 23:55:26 +02:00

performance fix - when dealing with spirit stuff

This commit is contained in:
David McKnight 2006-11-16 15:19:06 +00:00
parent 7deaf70d13
commit 9545a65bbe

View file

@ -763,7 +763,6 @@ public class XMLparser
if ((nextQuote >= 0) && (nextnextQuote > nextQuote) && (fullTag.length() > nextnextQuote))
{
String attribute = fullTag.substring(nextQuote + 1, nextnextQuote);
attributes[index] = convertStringFromXML(attribute);
index++;
}
@ -919,8 +918,6 @@ public class XMLparser
if (_dataStore.isVirtual() && parent != null)
{
result = _dataStore.find(parent, DE.A_NAME, attributes[DE.A_NAME], 1);
if (result != null && result.getValue().equals(attributes[DE.A_VALUE]) && result.isSpirit())
_dataStore.deleteObject(parent, result);
}
if (isSpirit)
{