1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 17:35:35 +02:00

Skip out of updator earlier when there is nothing to do.

This commit is contained in:
Doug Schaefer 2006-01-13 20:34:10 +00:00
parent 276c7dbb16
commit f98b82e760

View file

@ -81,7 +81,7 @@ public class PDOMUpdator extends Job {
taskName = "Rebuild PDOM";
}
if (taskName == null)
if (taskName == null || count == 0)
return Status.OK_STATUS;
monitor.beginTask(taskName, count);