mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 22:22:11 +02:00
More efficient ordering of conditions.
This commit is contained in:
parent
5850c01893
commit
2e7fd0da20
1 changed files with 1 additions and 1 deletions
|
@ -730,7 +730,7 @@ public class PDOMManager implements IWritableIndexManager, IListener {
|
|||
@Override
|
||||
public boolean isIndexerIdle() {
|
||||
synchronized (fTaskQueue) {
|
||||
return Job.getJobManager().find(this).length == 0 && fTaskQueue.isEmpty();
|
||||
return fTaskQueue.isEmpty() && Job.getJobManager().find(this).length == 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue