mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-10 17:55:39 +02:00
[301975] - CountingRequestMonitor status is broken
This commit is contained in:
parent
e065c23034
commit
3b2df140bd
1 changed files with 1 additions and 2 deletions
|
@ -14,7 +14,6 @@ import java.util.concurrent.Executor;
|
||||||
|
|
||||||
import org.eclipse.cdt.dsf.internal.DsfPlugin;
|
import org.eclipse.cdt.dsf.internal.DsfPlugin;
|
||||||
import org.eclipse.core.runtime.IStatus;
|
import org.eclipse.core.runtime.IStatus;
|
||||||
import org.eclipse.core.runtime.MultiStatus;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A request monitor that is used for multiple activities. We are told the
|
* A request monitor that is used for multiple activities. We are told the
|
||||||
|
@ -54,7 +53,7 @@ public class CountingRequestMonitor extends RequestMonitor {
|
||||||
|
|
||||||
public CountingRequestMonitor(Executor executor, RequestMonitor parentRequestMonitor) {
|
public CountingRequestMonitor(Executor executor, RequestMonitor parentRequestMonitor) {
|
||||||
super(executor, parentRequestMonitor);
|
super(executor, parentRequestMonitor);
|
||||||
super.setStatus(new MultiStatus(DsfPlugin.PLUGIN_ID, 0, "", null) { //$NON-NLS-1$
|
super.setStatus(new DsfMultiStatus(DsfPlugin.PLUGIN_ID, 0, "", null) { //$NON-NLS-1$
|
||||||
@Override
|
@Override
|
||||||
public String getMessage() {
|
public String getMessage() {
|
||||||
StringBuffer message = new StringBuffer();
|
StringBuffer message = new StringBuffer();
|
||||||
|
|
Loading…
Add table
Reference in a new issue