oldSFI.cancel(container, context);
oldSFI.removeFrom(container, context);
if(oldState == oldSFI) oldState = null;
}
if(oldState != null) {
<BUG>Logger.error(this, "currentState is set in removeFrom() on "+this+" for "+SimpleManifestPutter.this);
</BUG>
oldState.cancel(container, context);
oldState.removeFrom(container, context);
}

oldSFI.cancel(container, context);
oldSFI.removeFrom(container, context);
if(oldState == oldSFI) oldState = null;
}
if(oldState != null) {
Logger.error(this, "currentState is set in removeFrom() on "+this+" for "+SimpleManifestPutter.this, new Exception("debug"));
oldState.cancel(container, context);
oldState.removeFrom(container, context);
}
