From 9545a65bbe4fe44d1d7aad4cf7dcaa6b2244ce91 Mon Sep 17 00:00:00 2001 From: David McKnight Date: Thu, 16 Nov 2006 15:19:06 +0000 Subject: [PATCH] performance fix - when dealing with spirit stuff --- .../src/org/eclipse/dstore/core/util/XMLparser.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/util/XMLparser.java b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/util/XMLparser.java index e2eceaf3ec3..431bc1b1f6b 100644 --- a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/util/XMLparser.java +++ b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/util/XMLparser.java @@ -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) {