if ((version>0) && !initialContent.equals(syncedContent)) {
try {
syncedRevision =
Diff.diff(ToString.stringToArray(initialContent), ToString.stringToArray(syncedContent));
} catch (DifferentiationFailedException e) {
<BUG>showError(e, null);
}</BUG>
}
} else {
syncedContent = "";

if ((version>0) && !initialContent.equals(syncedContent)) {
try {
syncedRevision =
Diff.diff(ToString.stringToArray(initialContent), ToString.stringToArray(syncedContent));
} catch (DifferentiationFailedException e) {
showErrorAndResetSync(e);
}
}
} else {
syncedContent = "";
