mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-16 12:45:41 +02:00
Bug 341465: doInitialize() must be private to allow each version of the service to get properly initialized.
This commit is contained in:
parent
343844689b
commit
664ef4c42f
3 changed files with 3 additions and 3 deletions
|
@ -138,7 +138,7 @@ public class GDBBackend extends AbstractDsfService implements IGDBBackend {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public void doInitialize(final RequestMonitor requestMonitor) {
|
private void doInitialize(final RequestMonitor requestMonitor) {
|
||||||
|
|
||||||
final Sequence.Step[] initializeSteps = new Sequence.Step[] {
|
final Sequence.Step[] initializeSteps = new Sequence.Step[] {
|
||||||
new GDBProcessStep(InitializationShutdownStep.Direction.INITIALIZING),
|
new GDBProcessStep(InitializationShutdownStep.Direction.INITIALIZING),
|
||||||
|
|
|
@ -121,7 +121,7 @@ public class GDBControl extends AbstractMIControl implements IGDBControl {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public void doInitialize(final RequestMonitor requestMonitor) {
|
private void doInitialize(final RequestMonitor requestMonitor) {
|
||||||
|
|
||||||
fMIBackend = getServicesTracker().getService(IGDBBackend.class);
|
fMIBackend = getServicesTracker().getService(IGDBBackend.class);
|
||||||
|
|
||||||
|
|
|
@ -125,7 +125,7 @@ public class GDBControl_7_0 extends AbstractMIControl implements IGDBControl {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public void doInitialize(final RequestMonitor requestMonitor) {
|
private void doInitialize(final RequestMonitor requestMonitor) {
|
||||||
fMIBackend = getServicesTracker().getService(IGDBBackend.class);
|
fMIBackend = getServicesTracker().getService(IGDBBackend.class);
|
||||||
|
|
||||||
// getId uses the MIBackend service, which is why we must wait until we
|
// getId uses the MIBackend service, which is why we must wait until we
|
||||||
|
|
Loading…
Add table
Reference in a new issue