mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Don't update index timestamp if nothing has changed.
This commit is contained in:
parent
54b5e33af4
commit
cc1209d029
1 changed files with 2 additions and 1 deletions
|
@ -956,7 +956,8 @@ public class PDOM extends PlatformObject implements IPDOM {
|
|||
CCorePlugin.log(e);
|
||||
}
|
||||
assert lockCount == -1;
|
||||
lastWriteAccess= System.currentTimeMillis();
|
||||
if (!fEvent.isTrivial())
|
||||
lastWriteAccess= System.currentTimeMillis();
|
||||
final ChangeEvent event= fEvent;
|
||||
fEvent= new ChangeEvent();
|
||||
synchronized (mutex) {
|
||||
|
|
Loading…
Add table
Reference in a new issue