WaveletOperationContext lastOperationContext = null;
this.clear();
for (WaveletOperation waveletOp : oldOperations) {
if (waveletOp instanceof WaveletBlipOperation) {
WaveletBlipOperation waveletBlipOp = ((WaveletBlipOperation) waveletOp);
String id = waveletBlipOp.getBlipId();
BlipOperation blipOp = waveletBlipOp.getBlipOp();
if (blipOp instanceof BlipContentOperation) {
if (!docOps.isEmpty() && !id.equals(currentId)) {
composeDocOps(this, currentId, lastOperationContext, docOps);
}
docOps.add(((BlipContentOperation) blipOp).getContentOp());