String oldValue = oldText.getObject();
if (oldValue == null || "null".equals(oldValue) == true) {
oldValue = getString("label.null");
}
final LinkedList<Diff> diffs = diffMatchPatch.diff_main(oldValue, newValue);
diffMatchPatch.diff_cleanupSemantic(diffs);
prettyHtml = getPrettyHtml(diffs);
}
return prettyHtml;
}
});