mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-02 22:55:26 +02:00
null pointer check
This commit is contained in:
parent
df44df752e
commit
f4196430ee
1 changed files with 1 additions and 1 deletions
|
@ -924,7 +924,7 @@ public class DStoreFileService extends AbstractDStoreService implements IFileSer
|
|||
for (int i = 0; i < elements.length; i++)
|
||||
{
|
||||
DataElement element = elements[i];
|
||||
if (!element.isDeleted())
|
||||
if (element != null && !element.isDeleted())
|
||||
{
|
||||
String type = element.getType();
|
||||
// filter files
|
||||
|
|
Loading…
Add table
Reference in a new issue