mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix for Bug 69166: NPE in IndexerModelListener.processDelta
This commit is contained in:
parent
bbfd876909
commit
44fdb04953
2 changed files with 8 additions and 0 deletions
|
@ -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-07-06 Bogdan Gheorghe
|
||||
Added timing for merge operations - controlled by Indexer tracing option
|
||||
Modified removeSourceFolderFromIndex in IndexManager to take an IProject
|
||||
|
|
|
@ -63,6 +63,9 @@ public class IndexerModelListener implements IElementChangedListener {
|
|||
IResource tempResource = element.getResource();
|
||||
SourceRoot tempRootElement = null;
|
||||
|
||||
if (tempResource == null)
|
||||
return;
|
||||
|
||||
switch(tempResource.getType())
|
||||
{
|
||||
case IResource.FILE:
|
||||
|
|
Loading…
Add table
Reference in a new issue