mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix for 162758, clear index before using reader factory.
This commit is contained in:
parent
229bbeea3d
commit
c8b7ec6935
2 changed files with 2 additions and 3 deletions
|
@ -36,9 +36,9 @@ class PDOMFastReindex extends PDOMFastIndexerJob {
|
|||
try {
|
||||
long start = System.currentTimeMillis();
|
||||
setupIndexAndReaderFactory();
|
||||
registerTUsInReaderFactory(fTUs);
|
||||
|
||||
clearIndex(index);
|
||||
registerTUsInReaderFactory(fTUs);
|
||||
fFilesToIndex--;
|
||||
|
||||
parseTUs(fTUs, monitor);
|
||||
|
|
|
@ -40,9 +40,8 @@ class PDOMFullReindex extends PDOMFullIndexerJob {
|
|||
long start = System.currentTimeMillis();
|
||||
|
||||
setupIndexAndReaderFactory();
|
||||
registerTUsInReaderFactory(fTUs);
|
||||
|
||||
clearIndex(index);
|
||||
registerTUsInReaderFactory(fTUs);
|
||||
fFilesToIndex--;
|
||||
|
||||
parseTUs(fTUs, monitor);
|
||||
|
|
Loading…
Add table
Reference in a new issue