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

[191280] amendment to Xuan's patch for virtuals

This commit is contained in:
David McKnight 2007-06-14 12:56:43 +00:00
parent 607f4684a6
commit 8d099fd7d8

View file

@ -2044,7 +2044,7 @@ private DataElement createDataElementFromLSString(DataElement subject,
} }
String oldValue = deObj.getAttribute(DE.A_VALUE); String oldValue = deObj.getAttribute(DE.A_VALUE);
String newValue = rootPath + ArchiveHandlerManager.VIRTUAL_SEPARATOR + virtualPath; String newValue = rootPath + ArchiveHandlerManager.VIRTUAL_SEPARATOR + virtualPath;
if (!oldValue.startsWith(newValue)) if (!oldValue.equals(newValue))
{ {
deObj.setAttribute(DE.A_VALUE, newValue); //$NON-NLS-1$ deObj.setAttribute(DE.A_VALUE, newValue); //$NON-NLS-1$
} }