1
0
Fork 0
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:
Pawel Piech 2010-02-08 16:38:47 +00:00
parent e065c23034
commit 3b2df140bd

View file

@ -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();