Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2015-01-22 09:52:00 -0500
committerCamille Letavernier2015-01-22 09:52:00 -0500
commitff509d11c7fa896a53c88136a9f945c4be9dfa46 (patch)
treefe00b516604183c6c44008aad7b3de7235aa69d4 /plugins
parent2d66e0a0c55f868ee0793be809f9a1bbbffecfff (diff)
downloadorg.eclipse.papyrus-ff509d11c7fa896a53c88136a9f945c4be9dfa46.tar.gz
org.eclipse.papyrus-ff509d11c7fa896a53c88136a9f945c4be9dfa46.tar.xz
org.eclipse.papyrus-ff509d11c7fa896a53c88136a9f945c4be9dfa46.zip
457341: [Model Import] Identify and fix performances bottlenecks
https://bugs.eclipse.org/bugs/show_bug.cgi?id=457341 - Rename methods to avoid compile errors on PDE and Buckminster builds
Diffstat (limited to 'plugins')
-rw-r--r--plugins/infra/emf/org.eclipse.papyrus.infra.emf/src/org/eclipse/papyrus/infra/emf/resource/DependencyManagementHelper.java6
1 files changed, 3 insertions, 3 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 254fcf98e6e..563a779d4eb 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
@@ -360,13 +360,13 @@ public class DependencyManagementHelper {
* @param editingDomain
* The editing domain. May be null.
*/
- public static void updateDependencies(Map<URI, URI> urisToReplace, Collection<Resource> resourcesToRepair, EditingDomain editingDomain) {
+ public static void batchUpdateDependencies(Map<URI, URI> urisToReplace, Collection<Resource> resourcesToRepair, EditingDomain editingDomain) {
for (Resource resource : resourcesToRepair) {
if (EMFHelper.isReadOnly(resource, editingDomain)) {
continue;
}
- updateDependencies(urisToReplace, resource, editingDomain);
+ batchUpdateDependencies(urisToReplace, resource, editingDomain);
}
}
@@ -380,7 +380,7 @@ public class DependencyManagementHelper {
* @param editingDomain
* The editing domain. May be null.
*/
- public static void updateDependencies(Map<URI, URI> urisToReplace, Resource fromResource, EditingDomain editingDomain) {
+ public static void batchUpdateDependencies(Map<URI, URI> urisToReplace, Resource fromResource, EditingDomain editingDomain) {
Iterator<EObject> allContentsIterator = fromResource.getAllContents();
while (allContentsIterator.hasNext()) {

Back to the top