Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.gmf.xpand/src/org/eclipse/gmf/internal/xpand/util/CompositeXtendResource.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.gmf.xpand/src/org/eclipse/gmf/internal/xpand/util/CompositeXtendResource.java b/plugins/org.eclipse.gmf.xpand/src/org/eclipse/gmf/internal/xpand/util/CompositeXtendResource.java
index 0f3a4ed8b..7ba1af0be 100644
--- a/plugins/org.eclipse.gmf.xpand/src/org/eclipse/gmf/internal/xpand/util/CompositeXtendResource.java
+++ b/plugins/org.eclipse.gmf.xpand/src/org/eclipse/gmf/internal/xpand/util/CompositeXtendResource.java
@@ -68,7 +68,7 @@ class CompositeXtendResource implements XtendResource {
public String[] getImportedExtensions() {
final List<String> result= new ArrayList<String>();
for (XtendResource nextResource : myResources) {
- result.addAll(Arrays.asList(nextResource.getImportedNamespaces()));
+ result.addAll(Arrays.asList(nextResource.getImportedExtensions()));
}
return result.toArray(new String[result.size()]);
}
@@ -76,7 +76,7 @@ class CompositeXtendResource implements XtendResource {
public String[] getImportedNamespaces() {
final List<String> result= new ArrayList<String>();
for (XtendResource nextResource : myResources) {
- result.addAll(Arrays.asList(nextResource.getImportedExtensions()));
+ result.addAll(Arrays.asList(nextResource.getImportedNamespaces()));
}
return result.toArray(new String[result.size()]);
}

Back to the top