Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extraplugins/migration/org.eclipse.papyrus.migration.rsa/src/org/eclipse/papyrus/migration/rsa/transformation/DependencyAnalysisHelper.java2
-rw-r--r--plugins/infra/emf/org.eclipse.papyrus.infra.emf/src/org/eclipse/papyrus/infra/emf/resource/DependencyManagementHelper.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/extraplugins/migration/org.eclipse.papyrus.migration.rsa/src/org/eclipse/papyrus/migration/rsa/transformation/DependencyAnalysisHelper.java b/extraplugins/migration/org.eclipse.papyrus.migration.rsa/src/org/eclipse/papyrus/migration/rsa/transformation/DependencyAnalysisHelper.java
index a6638c6e7a5..9b1d4763132 100644
--- a/extraplugins/migration/org.eclipse.papyrus.migration.rsa/src/org/eclipse/papyrus/migration/rsa/transformation/DependencyAnalysisHelper.java
+++ b/extraplugins/migration/org.eclipse.papyrus.migration.rsa/src/org/eclipse/papyrus/migration/rsa/transformation/DependencyAnalysisHelper.java
@@ -157,7 +157,7 @@ public class DependencyAnalysisHelper {
continue;
}
- Object value = next.eGet(reference);
+ Object value = next.eGet(reference, false);
if (value instanceof EObject) {
handleURIMapping((EObject) value, resourceSet);
} else if (value instanceof Collection<?>) {
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