mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Code cleanup
This commit is contained in:
parent
3d38e45585
commit
c438a17939
1 changed files with 1 additions and 7 deletions
|
@ -95,10 +95,6 @@ public class CElementWorkingSetUpdater implements IWorkingSetUpdater, IElementCh
|
||||||
CoreModel.getDefault().addElementChangedListener(this);
|
CoreModel.getDefault().addElementChangedListener(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void installListener() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
|
@ -281,9 +277,7 @@ public class CElementWorkingSetUpdater implements IWorkingSetUpdater, IElementCh
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (changed) {
|
if (changed) {
|
||||||
synchronized (workingSet) {
|
workingSet.setElements((IAdaptable[])elements.toArray(new IAdaptable[elements.size()]));
|
||||||
workingSet.setElements((IAdaptable[])elements.toArray(new IAdaptable[elements.size()]));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue