-
Improvement
-
Resolution: Unresolved
-
Major
-
4.3.0
-
None
-
None
-
2 - Long term
-
2 - Normal
Currently, the comparison is always as high level, there is the detail for the difference between two strings (starts with, ends with, etc.), dates (before, after), number (lower, higher), resources (different mime type, content, etc), etc.
I think it would be smart to have different levels of comparison, with and without the detail (as a boolean or an advanced level (like LOW, MEDIUM, HIGH)). Each types has its specificities.
In this way, it can be optimised to select the wanted level, like in MCC report comparator, we only want the difference as ADDED, MODIFIED, DELETED but we don't care about the detail, the current method ContentComparatorChange.getChangeTypeDetail() is never used (its name can change with the new API).