This commit is contained in:
Johannes Mockenhaupt 2017-10-24 09:23:45 +02:00
parent 01def4c9b3
commit 454cb49ec5
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

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