We can now find the insertion index within lists with duplicates.
commit39865834535b925dd57923e0eeb1101089e7a209
authorLaurent Goubet <laurent.goubet@obeo.fr>
Fri, 16 Nov 2012 14:35:24 +0000 (16 15:35 +0100)
committerLaurent Goubet <laurent.goubet@obeo.fr>
Fri, 16 Nov 2012 14:35:24 +0000 (16 15:35 +0100)
tree065ad79851d7694ea196f460306bcaca64d6e569
parent7cb444e8609c0b0fc9d2872256a10aafcbd8ed46
We can now find the insertion index within lists with duplicates.

lists containing duplicates still pose some issues (notably when
inserting an element in-between two duplicate values), but this will
handle most cases. Should be tested for further issues on multi-valued
attributes.

This commit also splits the humonguous findInsertionIndex into a number
of smaller sub-methods.
plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/utils/DiffUtil.java