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:
parent
d6a5819222
commit
0c5a08d8ce
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue