1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Flexible Hierarchy 3.3 APIs (bug 164341).

This commit is contained in:
Pawel Piech 2006-11-22 21:08:30 +00:00
parent 43788934ab
commit 4a775182e0

View file

@ -10,6 +10,8 @@
*******************************************************************************/ *******************************************************************************/
package org.eclipse.dd.dsf.concurrent; package org.eclipse.dd.dsf.concurrent;
import java.util.concurrent.Executor;
import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.MultiStatus; import org.eclipse.core.runtime.MultiStatus;
import org.eclipse.core.runtime.Status; import org.eclipse.core.runtime.Status;
@ -53,7 +55,7 @@ abstract public class Done extends DsfRunnable {
* @return Returns true if there was an error that was propagated and * @return Returns true if there was an error that was propagated and
* the caller can stop processing result. * the caller can stop processing result.
*/ */
protected boolean propagateError(DsfExecutor executor, Done clientDone, String message) { protected boolean propagateError(Executor executor, Done clientDone, String message) {
if (clientDone.getStatus().getSeverity() == IStatus.CANCEL) { if (clientDone.getStatus().getSeverity() == IStatus.CANCEL) {
return true; return true;
} }