Cleanup.
This commit is contained in:
parent
01def4c9b3
commit
454cb49ec5
1 changed files with 0 additions and 12 deletions
|
@ -11,18 +11,6 @@ public abstract class BaseCommand implements Command {
|
|||
this.scripter = scripter;
|
||||
}
|
||||
|
||||
// TODO upcoming
|
||||
protected final boolean canBeCancelled = true;
|
||||
protected volatile boolean cancelRequested = false;
|
||||
|
||||
public void requestCancellation() {
|
||||
cancelRequested = true;
|
||||
}
|
||||
|
||||
public boolean isCancellable() {
|
||||
return canBeCancelled;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean needsRunMode() {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue