mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-10 17:55:39 +02:00
Skip out of updator earlier when there is nothing to do.
This commit is contained in:
parent
276c7dbb16
commit
f98b82e760
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ public class PDOMUpdator extends Job {
|
||||||
taskName = "Rebuild PDOM";
|
taskName = "Rebuild PDOM";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (taskName == null)
|
if (taskName == null || count == 0)
|
||||||
return Status.OK_STATUS;
|
return Status.OK_STATUS;
|
||||||
|
|
||||||
monitor.beginTask(taskName, count);
|
monitor.beginTask(taskName, count);
|
||||||
|
|
Loading…
Add table
Reference in a new issue