[443330] Avoid getting a "Profile version change" error.56/32856/4
commitd6b9b433692672a3f68e15fdc3f190baddb09094
authorArthur Daussy <arthur.daussy@obeo.fr>
Thu, 4 Sep 2014 13:45:25 +0000 (4 15:45 +0200)
committerAxel RICHARD <axel.richard@obeo.fr>
Mon, 15 Sep 2014 07:56:30 +0000 (15 03:56 -0400)
treec4b2590df11f2a894e0673770aacfb44fdff787c
parent80981856379a20a7d1f1249376aaa2ae64d52cf7
[443330] Avoid getting a "Profile version change" error.

Previously in order to check that the version of a profile had not
change the program was using URI comparison in order to compare that the
EPackage pointed by the two URI were identical.  In some case, when the
profile was referenced using PATHMAP, it happens that the uri comparison
fail whereas the to uri point to the same object (One of the uri was
referencing the object using a pathmap whereas the other was using the
resolved uri). Normalizing uris before comparison corrects this problem.

Bug: 443330
Change-Id: I046dad5edf68aa9a59dbe347a8302ab91b49357e
Signed-off-by: Arthur Daussy <arthur.daussy@obeo.fr>
plugins/org.eclipse.emf.compare.uml2/src/org/eclipse/emf/compare/uml2/internal/postprocessor/UMLPostProcessor.java