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:
parent
43788934ab
commit
4a775182e0
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue