mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 05:15:43 +02:00
Fixed compilation warnings.
Change-Id: Ice9a8bf99f1bb80afea584698105a10657294b64
This commit is contained in:
parent
40b2d17b42
commit
078be6002f
2 changed files with 5 additions and 5 deletions
|
@ -135,7 +135,7 @@ public class PDOMIndexerJob extends Job {
|
|||
|
||||
// User cancel, tell manager and return.
|
||||
if (monitor.isCanceled()) {
|
||||
pdomManager.cancelledIndexerJob(cancelledByManager);
|
||||
pdomManager.indexerJobCanceled(cancelledByManager);
|
||||
return Status.CANCEL_STATUS;
|
||||
}
|
||||
|
||||
|
@ -179,7 +179,7 @@ public class PDOMIndexerJob extends Job {
|
|||
}
|
||||
|
||||
private void indexingAborted() {
|
||||
pdomManager.cancelledIndexerJob(true);
|
||||
pdomManager.indexerJobCanceled(true);
|
||||
synchronized (taskMutex) {
|
||||
currentTask= null;
|
||||
taskMutex.notifyAll();
|
||||
|
|
|
@ -165,8 +165,8 @@ public class PDOMManager implements IWritableIndexManager, IListener {
|
|||
*/
|
||||
private Map<IProject, IPDOM> fProjectToPDOM= new HashMap<>();
|
||||
private Map<File, ICProject> fFileToProject= new HashMap<>();
|
||||
private ListenerList fChangeListeners= new ListenerList();
|
||||
private ListenerList fStateListeners= new ListenerList();
|
||||
private ListenerList<IIndexChangeListener> fChangeListeners= new ListenerList<>();
|
||||
private ListenerList<IIndexerStateListener> fStateListeners= new ListenerList<>();
|
||||
|
||||
private IndexChangeEvent fIndexChangeEvent= new IndexChangeEvent();
|
||||
private IndexerStateEvent fIndexerStateEvent= new IndexerStateEvent();
|
||||
|
@ -714,7 +714,7 @@ public class PDOMManager implements IWritableIndexManager, IListener {
|
|||
return result;
|
||||
}
|
||||
|
||||
void cancelledIndexerJob(boolean byManager) {
|
||||
void indexerJobCanceled(boolean byManager) {
|
||||
synchronized (fTaskQueue) {
|
||||
fCurrentTask= null;
|
||||
if (!byManager) {
|
||||
|
|
Loading…
Add table
Reference in a new issue