saros
saros copied to clipboard
TextEditActivity.toOperation() can lead to a NoOp
TextEditActivity.toOperation() results in the creation of a NoOperation in cases where the activity has neither a valid replaced text nor a valid new text.
It is currently unclear why/in which cases this happens.
Even though such operations aren't causing any issues with the consistency logic, they create unnecessary processing and network overhead and should therefore be avoided.
The ideal solution would probably be to filtered out such cases before the TextEditActivity creation.