1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-01 12:43:26 +02:00

Fix for Bug 69166: NPE in IndexerModelListener.processDelta (2.0)

This commit is contained in:
Bogdan Gheorghe 2004-07-12 17:01:51 +00:00
parent 25b15468b2
commit a57d956381
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2004-07-12 Bogdan Gheorghe
Fix for Bug 69166: NPE in IndexerModelListener.processDelta
* index/org/eclipse/cdt/internal/core/search/indexing/IndexerModelListener.java
2004-06-25 Bogdan Gheorghe 2004-06-25 Bogdan Gheorghe
Indirect fix for Bug 65551: [Search] Search for Variable references should not include parameters Indirect fix for Bug 65551: [Search] Search for Variable references should not include parameters
Instead of excluding parameter references from searches, added parm declarations to the index (for Instead of excluding parameter references from searches, added parm declarations to the index (for

View file

@ -63,6 +63,9 @@ public class IndexerModelListener implements IElementChangedListener {
IResource tempResource = element.getResource(); IResource tempResource = element.getResource();
SourceRoot tempRootElement = null; SourceRoot tempRootElement = null;
if (tempResource == null)
return;
switch(tempResource.getType()) switch(tempResource.getType())
{ {
case IResource.FILE: case IResource.FILE: