Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2015-01-23 10:18:06 -0500
committerCamille Letavernier2015-01-23 10:18:06 -0500
commitf8a778bc39a076cc91675dd30a6c4309c5d6dd74 (patch)
treec05c32e5c57ad021cc7627ae0dc5ffde68423bc7 /plugins
parentff509d11c7fa896a53c88136a9f945c4be9dfa46 (diff)
downloadorg.eclipse.papyrus-f8a778bc39a076cc91675dd30a6c4309c5d6dd74.tar.gz
org.eclipse.papyrus-f8a778bc39a076cc91675dd30a6c4309c5d6dd74.tar.xz
org.eclipse.papyrus-f8a778bc39a076cc91675dd30a6c4309c5d6dd74.zip
457341: [Model Import] Identify and fix performances bottlenecks
https://bugs.eclipse.org/bugs/show_bug.cgi?id=457341 - Don't load dependencies during Cross-Resource dependencies Analysis & Repair, unless absolutely necessary
Diffstat (limited to 'plugins')
-rw-r--r--plugins/infra/emf/org.eclipse.papyrus.infra.emf/src/org/eclipse/papyrus/infra/emf/resource/DependencyManagementHelper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/infra/emf/org.eclipse.papyrus.infra.emf/src/org/eclipse/papyrus/infra/emf/resource/DependencyManagementHelper.java b/plugins/infra/emf/org.eclipse.papyrus.infra.emf/src/org/eclipse/papyrus/infra/emf/resource/DependencyManagementHelper.java
index 563a779d4eb..37fcac95c9d 100644
--- a/plugins/infra/emf/org.eclipse.papyrus.infra.emf/src/org/eclipse/papyrus/infra/emf/resource/DependencyManagementHelper.java
+++ b/plugins/infra/emf/org.eclipse.papyrus.infra.emf/src/org/eclipse/papyrus/infra/emf/resource/DependencyManagementHelper.java
@@ -144,7 +144,7 @@ public class DependencyManagementHelper {
continue;
}
- Object value = eObject.eGet(reference);
+ Object value = eObject.eGet(reference, false);
if (value instanceof EObject) {
EObject eObjectToReplace = (EObject) value;
@@ -398,7 +398,7 @@ public class DependencyManagementHelper {
continue;
}
- Object value = eObject.eGet(reference);
+ Object value = eObject.eGet(reference, false);
if (value instanceof EObject) {
EObject eObjectToReplace = (EObject) value;

Back to the top