1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 07:05:24 +02:00

[187670] exception in classifier when element is deleted

This commit is contained in:
David McKnight 2007-05-18 15:58:12 +00:00
parent d6a5819222
commit 0c5a08d8ce

View file

@ -180,7 +180,8 @@ public class FileClassifier extends Thread
for (int i = 0; i < _subject.getNestedSize(); i++)
{
DataElement child = _subject.get(i);
if (child != null && !child.isDeleted())
{
if (child.getType().equals(IUniversalDataStoreConstants.UNIVERSAL_FILE_DESCRIPTOR)
|| child.getType().equals(IUniversalDataStoreConstants.UNIVERSAL_VIRTUAL_FILE_DESCRIPTOR)
|| child.getType().equals(IUniversalDataStoreConstants.UNIVERSAL_FOLDER_DESCRIPTOR))
@ -203,6 +204,7 @@ public class FileClassifier extends Thread
* (tokenizer.countTokens() < 12) { putElement(name, child); }
*/
}
}
}
_classifyChildren = true;