[519021] Check attribute of Multiplicity change before getting container48/100448/4
commitcafcf9f5178a7d68aa4d94841da20685ac2bc545
authorMartin Fleck <mfleck@eclipsesource.com>
Wed, 22 Nov 2017 08:29:03 +0000 (22 09:29 +0100)
committerPhilip Langer <planger@eclipsesource.com>
Wed, 22 Nov 2017 08:30:28 +0000 (22 09:30 +0100)
tree703e2e0c9cb40571b1d3a0ff83db0a83bac26a19
parent67dbe071b9eda254afc978ee644c4a0f3502a726
[519021] Check attribute of Multiplicity change before getting container

Check whether the attribute is an integer or unlimited before retrieving
the container which is more expensive.

Bug: 519021
Change-Id: I9f128fa53398092287206133f5041a539d8a087c
Signed-off-by: Martin Fleck <mfleck@eclipsesource.com>
plugins/org.eclipse.emf.compare.uml2/src/org/eclipse/emf/compare/uml2/internal/postprocessor/extension/MultiplicityElementChangeFactory.java