summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Merks2013-01-10 03:07:10 (EST)
committerEd Merks2013-01-10 03:07:10 (EST)
commitc6d19fb5092baa0fc0b3ba0cf16ded1bf8b2a058 (patch)
treea9ab925705e51124a3ac3cbbeddaebac43614c28
parent114e8c3c560c1002770fa02dc863956b39ebb1cf (diff)
downloadorg.eclipse.emf-c6d19fb5092baa0fc0b3ba0cf16ded1bf8b2a058.zip
org.eclipse.emf-c6d19fb5092baa0fc0b3ba0cf16ded1bf8b2a058.tar.gz
org.eclipse.emf-c6d19fb5092baa0fc0b3ba0cf16ded1bf8b2a058.tar.bz2
[397592] Clear the URI map properly.
-rw-r--r--plugins/org.eclipse.emf.ecore.xcore.exporter/src/org/eclipse/emf/ecore/xcore/exporter/XcoreExporter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.ecore.xcore.exporter/src/org/eclipse/emf/ecore/xcore/exporter/XcoreExporter.java b/plugins/org.eclipse.emf.ecore.xcore.exporter/src/org/eclipse/emf/ecore/xcore/exporter/XcoreExporter.java
index 8c28e76..9f573d9 100644
--- a/plugins/org.eclipse.emf.ecore.xcore.exporter/src/org/eclipse/emf/ecore/xcore/exporter/XcoreExporter.java
+++ b/plugins/org.eclipse.emf.ecore.xcore.exporter/src/org/eclipse/emf/ecore/xcore/exporter/XcoreExporter.java
@@ -390,6 +390,7 @@ public class XcoreExporter extends ModelExporter
//
Map<URI, URI> uriMap = resourceSet.getURIConverter().getURIMap();
Map<URI, URI> copyiedURIMap = new HashMap<URI, URI>(uriMap);
+ uriMap.clear();
outputResource.save(options);
uriMap.putAll(copyiedURIMap);
}