mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-27 02:45:32 +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++)
|
for (int i = 0; i < _subject.getNestedSize(); i++)
|
||||||
{
|
{
|
||||||
DataElement child = _subject.get(i);
|
DataElement child = _subject.get(i);
|
||||||
|
if (child != null && !child.isDeleted())
|
||||||
|
{
|
||||||
if (child.getType().equals(IUniversalDataStoreConstants.UNIVERSAL_FILE_DESCRIPTOR)
|
if (child.getType().equals(IUniversalDataStoreConstants.UNIVERSAL_FILE_DESCRIPTOR)
|
||||||
|| child.getType().equals(IUniversalDataStoreConstants.UNIVERSAL_VIRTUAL_FILE_DESCRIPTOR)
|
|| child.getType().equals(IUniversalDataStoreConstants.UNIVERSAL_VIRTUAL_FILE_DESCRIPTOR)
|
||||||
|| child.getType().equals(IUniversalDataStoreConstants.UNIVERSAL_FOLDER_DESCRIPTOR))
|
|| child.getType().equals(IUniversalDataStoreConstants.UNIVERSAL_FOLDER_DESCRIPTOR))
|
||||||
|
@ -204,6 +205,7 @@ public class FileClassifier extends Thread
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
_classifyChildren = true;
|
_classifyChildren = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue