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

cleanup: replaced deprecated method

This commit is contained in:
Andrew Gvozdev 2009-12-25 00:52:53 +00:00
parent 6cebeffb70
commit 6386479b1a

View file

@ -364,7 +364,7 @@ public class CProjectDescriptionManager implements ICProjectDescriptionManager {
private void startSaveParticipant() throws CoreException{
// Set up a listener for resource change events
ISavedState lastState =
ResourcesPlugin.getWorkspace().addSaveParticipant(CCorePlugin.getDefault(), fRcChangeHandler);
ResourcesPlugin.getWorkspace().addSaveParticipant(CCorePlugin.PLUGIN_ID, fRcChangeHandler);
if (lastState != null) {
lastState.processResourceChangeEvents(fRcChangeHandler);